Circle V2 API Docs
    Preparing search index...
    • Returns a shared OpenAI SDK client plus the model the caller should use.

      The client itself is a process-lifetime singleton (auth + connection pooling survive across calls). The model field is the only value that varies per invocation — passing { model } overrides the default for that one bundle, leaving other callers' choices unaffected.

      Parameters

      Returns OpenAIClientBundle

      when OPENAI_API_KEY is missing.