refactor: 推进后端分层架构治理

This commit is contained in:
jxxghp
2026-08-18 00:29:14 +08:00
parent 5d0bacabd5
commit 5128ae9e1e
363 changed files with 34179 additions and 6019 deletions
+2 -7
View File
@@ -1,18 +1,13 @@
"""Agent 音乐工具共享的实体校验与结果精简函数。"""
from typing import Any, Optional
from typing import Any
from app.domain.context import (
MusicAlbumInfo,
MusicArtistInfo,
MusicInfo,
)
from app.schemas.types import (
MUSIC_ENTITY_TYPES,
MUSIC_SUBSCRIBABLE_TYPES,
media_type_to_agent,
)
from app.domain.media import normalize_music_type
from app.schemas.types import media_type_to_agent
MUSIC_TRACK_PREVIEW_LIMIT = 100