mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-26 21:36:31 +02:00
tui: separate live prose from tool boxes
This commit is contained in:
parent
bfaaaa3dd9
commit
168941f09e
1 changed files with 5 additions and 0 deletions
|
|
@ -244,10 +244,15 @@ func (v *View) BuildLive(width int) []string {
|
|||
}
|
||||
}
|
||||
}
|
||||
insertedToolGap := false
|
||||
for _, tc := range v.ToolCalls {
|
||||
if finalised[tc.ID] {
|
||||
continue
|
||||
}
|
||||
if !insertedToolGap && len(out) > 0 {
|
||||
out = append(out, "")
|
||||
}
|
||||
insertedToolGap = true
|
||||
out = append(out, v.renderToolCall(tc, width)...)
|
||||
// out = append(out, "")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue