fix: claude tool use msg seq;
This commit is contained in:
parent
7d2e0e3832
commit
2875af774e
@ -206,10 +206,10 @@ export async function* query(
|
||||
typeof lastUserMessage.message.content === 'string'
|
||||
? reminders + lastUserMessage.message.content
|
||||
: [
|
||||
{ type: 'text', text: reminders },
|
||||
...(Array.isArray(lastUserMessage.message.content)
|
||||
? lastUserMessage.message.content
|
||||
: []),
|
||||
{ type: 'text', text: reminders },
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user