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>main
parent
500c821817
commit
af2f55c29f
|
|
@ -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: '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue