Agent white text
This commit is contained in:
+1
-4
@@ -3937,10 +3937,7 @@ async function bareOsRunAgentSession(ctx, argv0, task, runOpts) {
|
||||
if (e.type === 'delta_content') {
|
||||
const chunk = typeof e.content === 'string' ? e.content : ''
|
||||
assistantContent += chunk
|
||||
bareAgentWriteOut(
|
||||
stdout,
|
||||
bareEditSgr('string', useColor) + chunk + EDIT_ANSI_RESET
|
||||
)
|
||||
bareAgentWriteOut(stdout, chunk)
|
||||
} else if (e.type === 'delta_tool_calls') {
|
||||
const arr = e.tool_calls
|
||||
if (Array.isArray(arr)) {
|
||||
|
||||
Reference in New Issue
Block a user