style: wrap long session history helper call
This commit is contained in:
parent
c5c7423986
commit
5c1b9eaff1
1 changed files with 5 additions and 1 deletions
|
|
@ -503,7 +503,11 @@ func visibleSessionMessages(messages []providers.Message, toolFeedbackMaxArgsLen
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
toolSummaryMessages := visibleAssistantToolSummaryMessages(msg.ToolCalls, timestamp, toolFeedbackMaxArgsLength)
|
toolSummaryMessages := visibleAssistantToolSummaryMessages(
|
||||||
|
msg.ToolCalls,
|
||||||
|
timestamp,
|
||||||
|
toolFeedbackMaxArgsLength,
|
||||||
|
)
|
||||||
if len(toolSummaryMessages) > 0 {
|
if len(toolSummaryMessages) > 0 {
|
||||||
transcript = append(transcript, toolSummaryMessages...)
|
transcript = append(transcript, toolSummaryMessages...)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue