fix(singleagent): agent model configuration (#610)

This commit is contained in:
junwen-lee
2025-08-06 15:52:22 +08:00
committed by GitHub
parent a179748877
commit 8b91a640b9
2 changed files with 113 additions and 4 deletions

View File

@@ -94,8 +94,9 @@ func BuildAgent(ctx context.Context, conf *Config) (r *AgentRunner, err error) {
}
chatModel, err := newChatModel(ctx, &config{
modelFactory: conf.ModelFactory,
modelInfo: modelInfo,
modelFactory: conf.ModelFactory,
modelInfo: modelInfo,
agentModelSetting: conf.Agent.ModelInfo,
})
if err != nil {
return nil, err