Skip to content

Commit 38dc6ac

Browse files
authored
Remove backcompat workaround (microsoft#232302)
From microsoft#232023 Fix microsoft#232301
1 parent 82b2f61 commit 38dc6ac

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/vs/workbench/api/common/extHostTypes.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4663,14 +4663,8 @@ export class LanguageModelToolCallPart implements vscode.LanguageModelToolCallPa
46634663
parameters: any;
46644664

46654665
constructor(callId: string, name: string, input: any) {
4666-
// TODO TEMP- swapped the order of these two arguments, trying to preserve the behavior for a build or two
4667-
if (name.startsWith('call_')) {
4668-
this.name = callId;
4669-
this.callId = name;
4670-
} else {
4671-
this.callId = callId;
4672-
this.name = name;
4673-
}
4666+
this.callId = callId;
4667+
this.name = name;
46744668

46754669
this.input = input;
46764670
// TODO@API backwards compat, remove

0 commit comments

Comments
 (0)