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

Function buildClientOptions

apps/sim/providers/azure-anthropic/index.test.ts:62–66  ·  view source on GitHub ↗

Invokes the createClient factory handed to the Anthropic core and returns the SDK options it built.

()

Source from the content-addressed store, hash-verified

60
61/** Invokes the createClient factory handed to the Anthropic core and returns the SDK options it built. */
62function buildClientOptions(): Record<string, unknown> {
63 const config = mockExecuteAnthropic.mock.calls[0][1]
64 config.createClient('k', false)
65 return anthropicArgs[0]
66}
67
68describe('azureAnthropicProvider — SSRF pinning', () => {
69 beforeEach(() => {

Callers 1

index.test.tsFile · 0.85

Calls 1

createClientMethod · 0.80

Tested by

no test coverage detected