From 1c486076b731550a0060d0f7d0c615c9424e3816 Mon Sep 17 00:00:00 2001 From: tristantelleb Date: Fri, 19 Jun 2026 12:12:24 +0200 Subject: [PATCH 1/2] fix(ask-ai): correct eval Ask-AI domain and claude-code Opus model id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two fixes surfaced while verifying Mintlify Ask AI against the live docs: - tests/evals/mintlify_client.py: the Ask-AI assistant domain defaulted to "docs.edenai.co", which 404s. The Mintlify project domain is "edenai" — the eval suite could not reach Ask AI until this was corrected. - v3/integrations/claude-code.mdx: replaced the invalid model id "anthropic/claude-opus-4.7" (a dotted id not present in /v3/models) and the stale "anthropic/claude-opus-4-7" with "anthropic/claude-opus-4-8" (current, valid, hyphenated) so every Opus reference on the page is consistent. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/evals/mintlify_client.py | 2 +- v3/integrations/claude-code.mdx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/evals/mintlify_client.py b/tests/evals/mintlify_client.py index 12ca6e5..186b5b4 100644 --- a/tests/evals/mintlify_client.py +++ b/tests/evals/mintlify_client.py @@ -28,7 +28,7 @@ class MintlifyResponse: def ask_mintlify( question: str, api_key: str, - domain: str = "docs.edenai.co", + domain: str = "edenai", client: httpx.Client | None = None, retries: int = 3, retrieval_page_size: int = 10, diff --git a/v3/integrations/claude-code.mdx b/v3/integrations/claude-code.mdx index 7a63d0c..e3847d2 100644 --- a/v3/integrations/claude-code.mdx +++ b/v3/integrations/claude-code.mdx @@ -41,19 +41,19 @@ Claude Code runs in your terminal and edits code in your project. Pointing it at ```bash bash / zsh export ANTHROPIC_API_KEY="YOUR_EDEN_AI_API_KEY" export ANTHROPIC_BASE_URL="https://api.edenai.run/v3" -export ANTHROPIC_MODEL="anthropic/claude-opus-4.7" +export ANTHROPIC_MODEL="anthropic/claude-opus-4-8" export ANTHROPIC_DEFAULT_HAIKU_MODEL="anthropic/claude-haiku-4-5" export ANTHROPIC_DEFAULT_SONNET_MODEL="anthropic/claude-sonnet-4-6" -export ANTHROPIC_DEFAULT_OPUS_MODEL="anthropic/claude-opus-4-7" +export ANTHROPIC_DEFAULT_OPUS_MODEL="anthropic/claude-opus-4-8" ``` ```powershell PowerShell $env:ANTHROPIC_API_KEY = "YOUR_EDEN_AI_API_KEY" $env:ANTHROPIC_BASE_URL = "https://api.edenai.run/v3" -$env:ANTHROPIC_MODEL = "anthropic/claude-opus-4.7" +$env:ANTHROPIC_MODEL = "anthropic/claude-opus-4-8" $env:ANTHROPIC_DEFAULT_HAIKU_MODEL="anthropic/claude-haiku-4-5" $env:ANTHROPIC_DEFAULT_SONNET_MODEL="anthropic/claude-sonnet-4-6" -$env:ANTHROPIC_DEFAULT_OPUS_MODEL="anthropic/claude-opus-4-7" +$env:ANTHROPIC_DEFAULT_OPUS_MODEL="anthropic/claude-opus-4-8" ``` @@ -73,7 +73,7 @@ Eden AI uses the `provider/model` format. Update the `ANTHROPIC_MODEL` environme ```bash Claude variants -export ANTHROPIC_MODEL="anthropic/claude-opus-4.7" # default +export ANTHROPIC_MODEL="anthropic/claude-opus-4-8" # default export ANTHROPIC_MODEL="anthropic/claude-sonnet-4-5" # cheaper, faster export ANTHROPIC_MODEL="anthropic/claude-haiku-4-5" # fastest ``` @@ -98,12 +98,12 @@ echo $ANTHROPIC_API_KEY curl -X POST https://api.edenai.run/v3/chat/completions \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -H "Content-Type: application/json" \ - -d '{"model": "anthropic/claude-opus-4.7", "messages": [{"role": "user", "content": "ping"}]}' + -d '{"model": "anthropic/claude-opus-4-8", "messages": [{"role": "user", "content": "ping"}]}' ``` ### Model not found -Use the full `provider/model` string (e.g. `anthropic/claude-opus-4.7`, not `claude-opus-4.7`). Confirm the ID is in the catalog returned by `GET /v3/models`. +Use the full `provider/model` string (e.g. `anthropic/claude-opus-4-8`, not `claude-opus-4-8`). Confirm the ID is in the catalog returned by `GET /v3/models`. ### Connection issues From 06c376c71292abc3eded5543b2dcbfa9e68ed471 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 10:12:37 +0000 Subject: [PATCH 2/2] chore: bump dateModified for changed docs --- v3/integrations/claude-code.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/integrations/claude-code.mdx b/v3/integrations/claude-code.mdx index e3847d2..ba3bfe6 100644 --- a/v3/integrations/claude-code.mdx +++ b/v3/integrations/claude-code.mdx @@ -15,7 +15,7 @@ import { TechArticleSchema } from "/snippets/TechArticleSchema.mdx"; proficiencyLevel="Intermediate" keywords={["Eden AI", "AI API", "Claude Code"]} datePublished="2026-05-06T00:00:00Z" - dateModified="2026-05-07T00:00:00Z" + dateModified="2026-06-19T00:00:00Z" /> Configure [Claude Code](https://github.com/anthropics/claude-code), Anthropic's official CLI coding agent, to use Eden AI for access to 500+ models behind a single API key.