Skip to content

fix(ask-ai): correct eval Ask-AI domain and claude-code Opus model id#57

Open
tristantelleb wants to merge 4 commits into
mainfrom
fix/ask-ai-followups
Open

fix(ask-ai): correct eval Ask-AI domain and claude-code Opus model id#57
tristantelleb wants to merge 4 commits into
mainfrom
fix/ask-ai-followups

Conversation

@tristantelleb

Copy link
Copy Markdown
Member

Summary

Two small fixes surfaced while verifying that Mintlify Ask AI reflects the latest docs.

1. Eval pipeline couldn't reach Ask AI (tests/evals/mintlify_client.py)

ask_mintlify() defaulted domain="docs.edenai.co", which the Mintlify assistant API returns 404 for. The project's actual domain is edenai (verified: only edenai returns 200; docs.edenai.co, edenai.mintlify.app, www.edenai.co all 404). Without this, pytest tests/evals/ fails for everyone on the first request.

2. Invalid / stale Opus model id (v3/integrations/claude-code.mdx)

The page used anthropic/claude-opus-4.7 — a dotted id that isn't in the /v3/models catalog (Eden AI uses hyphens), so a request copied from the docs would fail with "model not found". It also mixed in a stale hyphenated anthropic/claude-opus-4-7. Both are now anthropic/claude-opus-4-8 (current, valid), making every Opus reference on the page consistent.

Verification

  • Ask AI confirmed live-queryable via domain edenai.
  • anthropic/claude-opus-4-8 confirmed present in GET https://api.edenai.run/v3/models.

🤖 Generated with Claude Code

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) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 19, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
edenai 🟢 Ready View Preview Jun 19, 2026, 10:13 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@tristantelleb, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 57 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7eb39407-1539-4101-88e7-737f30cf1063

📥 Commits

Reviewing files that changed from the base of the PR and between 8c2e036 and d99e527.

📒 Files selected for processing (2)
  • tests/evals/mintlify_client.py
  • v3/integrations/claude-code.mdx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ask-ai-followups

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants