Skip to content

Commit

Permalink
let prepareHistory use new response part classes (#204584)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Feb 7, 2024
1 parent 926d4e5 commit 614c543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/api/common/extHostChatAgents2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export class ExtHostChatAgents2 implements ExtHostChatAgentsShape2 {
|| h.result;
return {
request: typeConvert.ChatAgentRequest.to(h.request),
response: coalesce(h.response.map(r => typeConvert.ChatResponseProgress.toProgressContent(r))),
response: coalesce(h.response.map(r => typeConvert.ChatResponsePart.to(r))),
result
} satisfies vscode.ChatAgentHistoryEntry;
})));
Expand Down

0 comments on commit 614c543

Please sign in to comment.