You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 feat(site/src/api): AI provider API client and query layer
Adds the frontend layer that talks to the existing /api/v2/ai/providers
endpoints already shipped on main:
- API client: getAIProviders, getAIProvider, createAIProvider,
updateAIProvider, deleteAIProvider.
- React Query wrappers in queries/aiProviders.ts with a shared key
helper and matching cache invalidations.
- Mock fixtures for OpenAI, Anthropic, and Bedrock providers in
testHelpers/entities.ts for stories and unit tests.
- viewAnyAIProvider registered in permissions.json so the existing
permissions hook can read it.
- viewAnyAIProvider added to canViewDeploymentSettings so admins
who can only manage providers still see the deployment dropdown.
No UI yet, the components and pages land in subsequent PRs.
0 commit comments