fix: format toolloop.go line 110 to comply with golines max-len
Split long line in Chat() call to meet 120 character limit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7311bb5f73
commit
4ffa747d4e
1 changed files with 3 additions and 1 deletions
|
|
@ -107,7 +107,9 @@ func RunToolLoop(
|
||||||
Content: "[SYSTEM] Token budget has been exhausted. Stop all tool calls immediately and return the best result you have completed so far. Do not call any more tools.",
|
Content: "[SYSTEM] Token budget has been exhausted. Stop all tool calls immediately and return the best result you have completed so far. Do not call any more tools.",
|
||||||
})
|
})
|
||||||
// One final LLM call to get a summary/wrap-up from the model
|
// One final LLM call to get a summary/wrap-up from the model
|
||||||
if finalResp, err := config.Provider.Chat(ctx, messages, nil, config.Model, config.LLMOptions); err == nil {
|
if finalResp, err := config.Provider.Chat(
|
||||||
|
ctx, messages, nil, config.Model, config.LLMOptions,
|
||||||
|
); err == nil {
|
||||||
finalContent = finalResp.Content
|
finalContent = finalResp.Content
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue