18
/** Mirrors the Copilot extension's string-form `modelSupportsToolSearch`. */
19
export function agentHostModelSupportsToolSearch(modelId: string | undefined): boolean {
21
return false;
22
}
24
>
const normalizedId = id.replace(/\./g, '-');
25
>
// Disabled due to an SDK issue with the GPT tool search tool.
26
>
// const isGpt56 = id === 'gpt-5.6-sol' || id === 'gpt-5.6-terra' || id === 'gpt-5.6-luna';
27
>
// if (normalizedId === 'gpt-5-4' || normalizedId === 'gpt-5-5' || isGpt56) {
28
>
// return true;
29
>
// }
30
>
if (!normalizedId.startsWith('claude') || normalizedId.startsWith('claude-haiku')) {
31
return false;
32
}