feat: Refactor agent configuration by removing deprecated parameters and enhancing conversation model management

- Removed the `thinkingModelId` and `rerankModelId` from agent configuration, streamlining the settings structure.
- Introduced a new `conversationModels` interface to manage summary and rerank model IDs.
- Updated related UI components and API logic to accommodate the changes in agent configuration.
- Enhanced localization for new conversation model settings in English, Russian, and Chinese.
This commit is contained in:
wizardchen
2025-11-19 22:11:44 +08:00
parent fe117af66e
commit 601f73ec5f
20 changed files with 1013 additions and 722 deletions
@@ -44,7 +44,6 @@ async function createNewSession(value: string) {
enabled: true,
max_iterations: settingsStore.agentConfig.maxIterations,
temperature: settingsStore.agentConfig.temperature,
thinking_model_id: settingsStore.agentConfig.thinkingModelId,
knowledge_bases: selectedKbs, // 所有选中的知识库
allowed_tools: settingsStore.agentConfig.allowedTools
};