MCPcopy
hub / github.com/simstudioai/sim / run

Function run

apps/sim/providers/litellm/index.test.ts:96–102  ·  view source on GitHub ↗
(request: Record<string, unknown>)

Source from the content-addressed store, hash-verified

94}
95
96function run(request: Record<string, unknown>) {
97 return litellmProvider.executeRequest!({
98 model: 'litellm/llama-3',
99 messages: [{ role: 'user', content: 'Hi' }],
100 ...request,
101 } as never) as Promise<any>
102}
103
104const firstPayload = () => mockCreate.mock.calls[0][0]
105const lastPayload = () => mockCreate.mock.calls.at(-1)![0]

Callers 1

index.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected