mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-07 00:30:20 +08:00
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:
@@ -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
|
||||
# 是否启用详细日志
|
||||
|
||||
Reference in New Issue
Block a user