AGENTS.md@web/src/features/ai-gateway · git:20261113.6c700f1 · 2026-11-13 · sha256 c27836010ca020ac

AGENTS.md@web/src/features/ai-gateway git:20261113.6c700f1A

Immutable. This exact content never changes and is served at /api/v1/blob/c27836010ca020ac.

## AI Gateway

### Implementation

- performance of the `/resolve` API path is critical - ideally stays under 10ms
- no tautological frontend component tests that check stuff like height / width

### Testing

- When changing the core flow or model provider-specifics: ensure that the end-to-end test suite remains valid: one suite per provider in `web/src/__e2e__/ai-gateway/`, all run by the single `test-ai-gateway-e2e` CI job. Each suite adds the provider connection, starts the built binary, lists models, and checks that completions are ingested with model, usage and cost. Shared setup lives in `gatewayE2eHarness.ts`.