Skip to content

Commit 794f339

Browse files
committed
fix: align BYOK tool capability with SDK schema
1 parent 6018a4d commit 794f339

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎patches/copilot-background-byok.diff‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ server without a new user message and reconnect to the same progressed session.
364364
* `startProxy` thunk that memoizes the single shared proxy handle.
365365
*/
366366
+function getByokModelCapabilities(model: IByokLmModelInfo): ModelCapabilitiesOverride | undefined {
367-
+ const supports: NonNullable<ModelCapabilitiesOverride['supports']> = {};
367+
+ const supports: NonNullable<ModelCapabilitiesOverride['supports']> & { toolCalls?: boolean } = {};
368368
+ if (model.supportsVision !== undefined) {
369369
+ supports.vision = model.supportsVision;
370370
+ }

0 commit comments

Comments
 (0)