refactor: streamline data serialization in tool implementations

- Replaced model_dump and to_dict methods with direct calls to dict for improved consistency and performance in JSON serialization across multiple tools.
- Updated ConversationMemoryManager, GetRecommendationsTool, QueryDownloadsTool, and QueryMediaLibraryTool to enhance data handling.
This commit is contained in:
jxxghp
2025-10-31 11:36:50 +08:00
parent 055117d83d
commit 3971c145df
5 changed files with 5 additions and 5 deletions

View File

@@ -420,7 +420,7 @@ class ConfigModel(BaseModel):
# LLM温度参数
LLM_TEMPERATURE: float = 0.7
# LLM最大迭代次数
LLM_MAX_ITERATIONS: int = 5
LLM_MAX_ITERATIONS: int = 15
# LLM工具调用超时时间
LLM_TOOL_TIMEOUT: int = 300
# 是否启用详细日志