1f5e445eaa
- 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.
8 lines
414 B
SQL
8 lines
414 B
SQL
-- 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)';
|
|
|