Console

Migrate the OpenAI SDK

Replace the server-side Base URL, Gateway API key, and visible model ID.

Migration steps

  1. Set SHIELDON_GATEWAY_BASE_URL including /v1, and SHIELDON_GATEWAY_API_KEY.
  2. Use GET /v1/models to confirm visible model IDs. An ID is either @integration-slug/upstream-model or a logical model from the key's default Policy.
  3. Replace api_key / base_url in Python, or apiKey / baseURL in Node.js.
  4. Test a non-streaming synthetic message first, then streaming, tools, and error handling, checking upstream operation capabilities for each.

Verification and troubleshooting

Inspect request ID, actual Integration, model, status, and usage in request logs. For 401, check the key and Release; for 403, check access scope and source IP. For unsupported operations, inspect model capabilities instead of forwarding private parameters blindly.