Reuse your client
Pass a custom client when your application already manages provider transport, authentication, retries, or observability outside ViscribeAI. The custom client must expose the OpenAI-compatible Chat Completions shape that ViscribeAI calls internally.- Python
- TypeScript
Expected shape
ViscribeAI callschat.completions.create on the client. The response should
match the OpenAI Chat Completions response shape closely enough for ViscribeAI
to read choices, message content or parsed output, refusal data, finish reasons,
and usage metadata.
Use
model_config or modelConfig for model request options even when passing a custom
client.