feat: Revamp conversation configuration management and enhance localization

- Removed outdated DEVELOPMENT.md, consolidating development instructions into relevant documentation.
- Updated conversation configuration to include new parameters such as max rounds, embedding thresholds, and rewrite prompts.
- Enhanced UI components to support new conversation settings, including AgentSettings.vue and related views.
- Improved localization in English, Russian, and Chinese for new conversation configuration fields and UI elements.
- Implemented logic to apply tenant-specific conversation settings, ensuring defaults are respected.
This commit is contained in:
wizardchen
2025-11-18 23:18:43 +08:00
parent 60240ee337
commit ddf6b4e748
36 changed files with 2941 additions and 1914 deletions
+16
View File
@@ -43,6 +43,22 @@ export interface ConversationConfig {
context_template: string
temperature: number
max_tokens: number
use_custom_system_prompt?: boolean
use_custom_context_template?: boolean
max_rounds: number
embedding_top_k: number
keyword_threshold: number
vector_threshold: number
rerank_top_k: number
rerank_threshold: number
enable_rewrite: boolean
fallback_strategy: string
fallback_response: string
fallback_prompt?: string
summary_model_id?: string
rerank_model_id?: string
rewrite_prompt_system?: string
rewrite_prompt_user?: string
}
export function getSystemInfo(): Promise<{ data: SystemInfo }> {