Skip to content

Add the Azure OpenAI route + model registry to the qbraid-account gateway #36

Description

@Kenny-Heitritter

Question

In qbraid-account, the /api/ai/v1 gateway routes only to Bedrock + Vertex — there is no Azure path. Add it:

  • New azure-openai provider case in src/app/api/ai/v1/chat/completions/route.ts (reads AZURE_OPENAI_ENDPOINT / AZURE_OPENAI_API_KEY / api-version; routes by Azure deployment name).
  • Register the 3 models in src/lib/config/models.ts with codeqModelId: qbraid/<id> and add the request-alias entries.

Staging behaviour only (prod routing is out of scope for this effort). Uses the real model ids from the discovery ticket. Creds provisioning is a separate ticket — this one reads the agreed env vars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wayfinder:taskWayfinder ticket: manual unblocking task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions