feat: Introduce conversation configuration management and localization updates
- Added new ConversationConfig interface and API endpoints for retrieving and updating conversation settings. - Enhanced AgentSettings.vue to include UI for configuring conversation parameters such as prompt, context template, temperature, and max tokens. - Updated localization files in English and Chinese to include new strings for conversation settings. - Implemented logic to load and save conversation configuration for tenants, ensuring defaults are applied when no specific configuration exists.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- Add conversation_config column to tenants table
|
||||
-- This migration adds support for conversation configuration at tenant level
|
||||
-- Used for normal mode conversation settings (prompt, context_template, temperature, max_tokens)
|
||||
|
||||
ALTER TABLE tenants
|
||||
ADD COLUMN conversation_config JSON DEFAULT NULL COMMENT 'Conversation configuration for normal mode sessions (prompt, context_template, temperature, max_tokens)';
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
-- Add conversation_config column to tenants table
|
||||
-- This migration adds support for conversation configuration at tenant level
|
||||
-- Used for normal mode conversation settings (prompt, context_template, temperature, max_tokens)
|
||||
|
||||
ALTER TABLE tenants
|
||||
ADD COLUMN conversation_config JSONB DEFAULT NULL;
|
||||
|
||||
Reference in New Issue
Block a user