MCPcopy Index your code
hub / github.com/simstudioai/sim / index.ts

File index.ts

apps/sim/providers/xai/index.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { getErrorMessage, toError } from '@sim/utils/errors'
3import OpenAI from 'openai'
4import type { ChatCompletionCreateParamsStreaming } from 'openai/resources/chat/completions'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
getProviderModelsFunction · 0.90
getProviderDefaultModelFunction · 0.90
createStreamingExecutionFunction · 0.90
calculateCostFunction · 0.90
checkForForcedToolUsageFunction · 0.90

Tested by

no test coverage detected