File tree Expand file tree Collapse file tree
packages/types/src/providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ export const baseModelInfo: ModelInfo = {
2929 contextWindow : 128000 ,
3030 supportsImages : false ,
3131 supportsPromptCache : false ,
32+ supportsNativeTools : true ,
33+ defaultToolProtocol : "native" ,
3234}
3335
3436export const watsonxModels = {
Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ export async function getWatsonxModels(
109109 maxTokens,
110110 supportsPromptCache : false ,
111111 supportsImages : false ,
112+ supportsNativeTools : true ,
113+ defaultToolProtocol : "native" ,
112114 description,
113115 }
114116 }
Original file line number Diff line number Diff line change @@ -294,6 +294,8 @@ export class WatsonxAIHandler extends BaseProvider implements SingleCompletionHa
294294 contextWindow : 131072 ,
295295 supportsImages : false ,
296296 supportsPromptCache : false ,
297+ supportsNativeTools : true ,
298+ defaultToolProtocol : "native" ,
297299 } ,
298300 }
299301 }
You can’t perform that action at this time.
0 commit comments