Merge 6977b0f84b into 1175f4a62b
This commit is contained in:
commit
122bea9d27
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ func NewAgentInstance(
|
|||
}
|
||||
|
||||
var thinkingLevelStr string
|
||||
if mc, err := cfg.GetModelConfig(model); err == nil {
|
||||
if mc := lookupModelConfigByRef(cfg, model); mc != nil {
|
||||
thinkingLevelStr = mc.ThinkingLevel
|
||||
}
|
||||
thinkingLevel := parseThinkingLevel(thinkingLevelStr)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue