fix(build): 移除 agent_cli.go 中不存在的 ReasoningEnabled 字段引用
commit 3b19ae6 (ssh-key 转圈修复) 意外引入 ReasoningEnabled 引用,
但 llm.Config 和 model.LLMConfig 均无此字段导致 go build 编译失败。
移除该行恢复正常编译。
This commit is contained in:
1 parent
6db6acc6bd
commit
9a3dd304f7
1 file changed
-1
@@ -186,7 +186,6 @@ func (ac *agentConn) startTask(sshCfg remoteexec.SSHConfig, llmCfg model.LLMConf
|
|||||||
Endpoint: resolveEndpoint(llmCfg.Provider, llmCfg.Endpoint),
|
Endpoint: resolveEndpoint(llmCfg.Provider, llmCfg.Endpoint),
|
||||||
APIKey: llmCfg.APIKey, Model: llmCfg.Model,
|
APIKey: llmCfg.APIKey, Model: llmCfg.Model,
|
||||||
Temperature: llmCfg.Temperature, MaxTokens: llmCfg.MaxTokens,
|
Temperature: llmCfg.Temperature, MaxTokens: llmCfg.MaxTokens,
|
||||||
ReasoningEnabled: llmCfg.ReasoningEnabled,
|
|
||||||
},
|
},
|
||||||
SSH: sshCfg,
|
SSH: sshCfg,
|
||||||
SafetyMode: safety.ModeBalanced,
|
SafetyMode: safety.ModeBalanced,
|
||||||
|
|||||||
Reference in new issue
Block a user