fix(frontend): apply default context template when switching to quick-answer mode
Start new agents with an empty context_template so mode-switch logic can populate the system default instead of keeping the smart-reasoning placeholder. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1666,7 +1666,7 @@ const defaultFormData = {
|
||||
// 基础设置
|
||||
agent_mode: 'smart-reasoning' as 'quick-answer' | 'smart-reasoning',
|
||||
system_prompt: '',
|
||||
context_template: '{{query}}',
|
||||
context_template: '',
|
||||
// 模型设置
|
||||
model_id: '',
|
||||
rerank_model_id: '',
|
||||
|
||||
Reference in New Issue
Block a user