Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ai-gateway): keep Codex top-level keys out of the provider table (#19658)

Tobias Wochingerf4f40f3ec2a3
diff --git a/web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions/buildCodexInstructions.ts b/web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions/buildCodexInstructions.ts
index 9ecadd9116..e64852737d 100644
--- a/web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions/buildCodexInstructions.ts
+++ b/web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions/buildCodexInstructions.ts
@@ -31,7 +31,7 @@ export function buildCodexInstructions(
{
title: "Add the gateway provider",
description:
- "Add this to the top of ~/.codex/config.toml ($CODEX_HOME/config.toml if you set CODEX_HOME), before any [table] section, so model_provider stays a top-level key.",
+ "Add this to ~/.codex/config.toml ($CODEX_HOME/config.toml if you set CODEX_HOME). Put model_provider next to your other top-level keys, before any [table] section, and the [model_providers.langfuse] table after them.",
language: "toml",
code: [
'model_provider = "langfuse"',