MCPcopy Index your code
hub / github.com/simstudioai/sim / supportsToolUsageControl

Function supportsToolUsageControl

apps/sim/providers/models.ts:3448–3450  ·  view source on GitHub ↗
(providerId: string)

Source from the content-addressed store, hash-verified

3446}
3447
3448export function supportsToolUsageControl(providerId: string): boolean {
3449 return getProvidersWithToolUsageControl().includes(providerId)
3450}
3451
3452export function updateOllamaModels(models: string[]): void {
3453 PROVIDER_DEFINITIONS.ollama.models = models.map((modelId) => ({

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected