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:
Administrator 2026-03-24 14:38:19 +08:00
parent 7311bb5f73
commit 4ffa747d4e

View file

@ -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.",
})
// 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
}
break