From 9322874fff52704c3b614ae6262fb4ee834055ad Mon Sep 17 00:00:00 2001 From: Christiaan Arnoldus Date: Mon, 31 Aug 2026 17:09:32 +0200 Subject: [PATCH] Delete apps/web/src/lib/ai-gateway/AGENTS.md I think the "policies" section is no longer in line with implementation. The unavailable models section is out of date, it is not necessary anymore in most cases. --- apps/web/src/lib/ai-gateway/AGENTS.md | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 apps/web/src/lib/ai-gateway/AGENTS.md diff --git a/apps/web/src/lib/ai-gateway/AGENTS.md b/apps/web/src/lib/ai-gateway/AGENTS.md deleted file mode 100644 index 46a639f057..0000000000 --- a/apps/web/src/lib/ai-gateway/AGENTS.md +++ /dev/null @@ -1,9 +0,0 @@ -# AI Gateway - -## Organization model/provider policies - -Custom LLM models ([`custom-llm/`](./custom-llm)) and direct BYOK models ([`providers/direct-byok/`](./providers/direct-byok)) must not be passed through `checkOrganizationModelRestrictions`. Enabling either already requires explicit admin action, so enforcing the organization's model/provider allow/deny lists on them is unnecessary and counterproductive. - -## Unavailable models - -When a model must be made unavailable (for example a free Kilo-exclusive model removed from the code base, or a region-restricted model), add its public ID to `unavailableModelIds` in [`unavailable-models.ts`](./unavailable-models.ts) so stale clients get a generic unavailable-model error.