You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(vscode-lm): order text parts before tool calls in assistant messages
The VS Code LM API requires that tool call parts within an assistant message
come at the END, so they are properly followed by the next user message
containing matching LanguageModelToolResultPart objects.
Previously, tool calls were placed BEFORE text parts, causing the error:
"Invalid request: Tool call part must be followed by a User message with
a LanguageModelToolResultPart with a matching callId."
Fixes ROO-427
0 commit comments