🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(ai-gateway): point setup instruction docs links at moved integration pages (#19661)
Tobias Wochingerce86efd4b8e3
diff --git a/web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions/AGENTS.md b/web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions/AGENTS.mdindex f8d94e2dfd..89f7cc89b3 100644--- a/web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions/AGENTS.md+++ b/web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions/AGENTS.md@@ -7,10 +7,10 @@ Snippets shown after a gateway API key is created, one builder per tab.The Langfuse docs own this content. These builders are a condensed copy:- API: https://langfuse.com/docs/ai-gateway/get-started/first-request-- Claude Code: https://langfuse.com/docs/ai-gateway/integrations/claude-code-- Codex: https://langfuse.com/docs/ai-gateway/integrations/codex-- OpenCode: https://langfuse.com/docs/ai-gateway/integrations/opencode-- GitHub Copilot CLI and app: https://langfuse.com/docs/ai-gateway/integrations/github-copilot+- Claude Code: https://langfuse.com/integrations/developer-tools/claude-code-gateway+- Codex: https://langfuse.com/integrations/developer-tools/codex-gateway+- OpenCode: https://langfuse.com/integrations/developer-tools/opencode-gateway+- GitHub Copilot CLI and app: https://langfuse.com/integrations/developer-tools/github-copilot-gatewayChange the docs first (`langfuse/langfuse-docs`), then mirror the change here.Do not add steps, paths or env vars that the docs do not describe.diff --git a/web/src/features/ai-gateway/constants/agentSetupInstructions.ts b/web/src/features/ai-gateway/constants/agentSetupInstructions.tsindex 888ea5e691..6a6393dd19 100644--- a/web/src/features/ai-gateway/constants/agentSetupInstructions.ts+++ b/web/src/features/ai-gateway/constants/agentSetupInstructions.ts@@ -1,5 +1,5 @@import {- GATEWAY_INTEGRATIONS_DOCS_URL,+ GATEWAY_DEVELOPER_TOOLS_DOCS_URL,GATEWAY_FIRST_REQUEST_DOCS_URL,} from "./gatewayDocsUrls";@@ -7,10 +7,10 @@ export const GATEWAY_KEY_PLACEHOLDER = "<your-gateway-key>";export const AGENT_SETUP_DOCS_URLS = {api: GATEWAY_FIRST_REQUEST_DOCS_URL,- "claude-desktop": `${GATEWAY_INTEGRATIONS_DOCS_URL}/claude-code#claude-desktop`,- "claude-code": `${GATEWAY_INTEGRATIONS_DOCS_URL}/claude-code#claude-code-cli`,- codex: `${GATEWAY_INTEGRATIONS_DOCS_URL}/codex`,- opencode: `${GATEWAY_INTEGRATIONS_DOCS_URL}/opencode`,- "copilot-cli": `${GATEWAY_INTEGRATIONS_DOCS_URL}/github-copilot#cli`,- "copilot-desktop": `${GATEWAY_INTEGRATIONS_DOCS_URL}/github-copilot#app`,+ "claude-desktop": `${GATEWAY_DEVELOPER_TOOLS_DOCS_URL}/claude-code-gateway#claude-desktop`,+ "claude-code": `${GATEWAY_DEVELOPER_TOOLS_DOCS_URL}/claude-code-gateway#claude-code-cli`,+ codex: `${GATEWAY_DEVELOPER_TOOLS_DOCS_URL}/codex-gateway`,+ opencode: `${GATEWAY_DEVELOPER_TOOLS_DOCS_URL}/opencode-gateway`,+ "copilot-cli": `${GATEWAY_DEVELOPER_TOOLS_DOCS_URL}/github-copilot-gateway#cli`,+ "copilot-desktop": `${GATEWAY_DEVELOPER_TOOLS_DOCS_URL}/github-copilot-gateway#app`,} as const;diff --git a/web/src/features/ai-gateway/constants/gatewayDocsUrls.ts b/web/src/features/ai-gateway/constants/gatewayDocsUrls.tsindex 208e7898b4..22c626539c 100644--- a/web/src/features/ai-gateway/constants/gatewayDocsUrls.ts+++ b/web/src/features/ai-gateway/constants/gatewayDocsUrls.ts@@ -6,7 +6,8 @@ export const GATEWAY_FIRST_REQUEST_DOCS_URL = `${GATEWAY_DOCS_BASE_URL}/get-starexport const GATEWAY_MODELS_DOCS_URL = `${GATEWAY_DOCS_BASE_URL}/features/models`;export const GATEWAY_API_KEYS_DOCS_URL = `${GATEWAY_DOCS_BASE_URL}/features/api-keys`;export const GATEWAY_ANALYTICS_DOCS_URL = `${GATEWAY_DOCS_BASE_URL}/features/analytics`;-export const GATEWAY_INTEGRATIONS_DOCS_URL = `${GATEWAY_DOCS_BASE_URL}/integrations`;+export const GATEWAY_DEVELOPER_TOOLS_DOCS_URL =+ "https://langfuse.com/integrations/developer-tools";export const GATEWAY_SELF_HOSTING_DOCS_URL ="https://langfuse.com/self-hosting/configuration/ai-gateway";