Skip to content

feat: render the mcp config component as markdown - #47292

Merged
ChrisChinchilla merged 8 commits into
masterfrom
feat/mcp-config-markdown
Jul 2, 2026
Merged

ChrisChinchilla merged 8 commits into
masterfrom
feat/mcp-config-markdown

Conversation

@gregnr

@gregnr gregnr commented Jun 25, 2026 •

Copy link
Copy Markdown
Member

Renders the MCP config component as markdown for static markdown builds. Currently we have no special case for <McpConfigPanel />, so it gets stripped out during markdown rendering. This adds a static markdown version of this component that renders all agents/tools consecutively.

Adds a new McpConfigPanel.md.tsx component that reuses data structures used by McpConfigPanel.tsx but renders as markdown instead of React. Instead of building the markdown via string concatenation, we use supabase-community/mdast-jsx which allows you to author markdown using JSX (providing type safety, better DX, maintainability). E.g.

<code lang="json" value='{ "key": "value" }' />

produces:

```json
{ "key": "value" }
```

Preview

https://docs-git-feat-mcp-config-markdown-supabase.vercel.app/docs/guides/ai-tools/mcp.md

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Added a docs-only MCP configuration panel with client-specific setup steps, deep links, and generated configuration snippets.
    • Enhanced guide generation to render richer, component-produced markdown content.
  • Bug Fixes

    • Improved MCP config serialization and display for consistent JSON/YAML/TOML output.
  • Refactor

    • Centralized MCP client metadata, instruction content, and config build/serialization logic for reuse.
  • Chores

    • Expanded package exports for MCP URL builder assets and utilities; improved runtime code-block language validation and updated PNG asset typing.

@gregnr
gregnr requested a review from a team as a code owner June 25, 2026 06:02
@supabase

supabase Bot commented Jun 25, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Jun 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Jul 2, 2026 11:54am
docs Ready Ready Preview, Comment, Open in v0 Jul 2, 2026 11:54am
studio-self-hosted Ready Ready Preview, Comment Jul 2, 2026 11:54am
studio-staging Ready Ready Preview, Comment Jul 2, 2026 11:54am
ui-library Ready Ready Preview, Comment Jul 2, 2026 11:54am
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Jul 2, 2026 11:54am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 2, 2026 11:54am

Request Review

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 25, 2026
@coderabbitai

coderabbitai Bot commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The PR centralizes MCP client metadata, instruction content, and config serialization, adds a docs-oriented MCP config panel, and updates the docs schema handler so component handlers can return mdast nodes as well as strings.

Changes

MCP config rendering stack

Layer / File(s) Summary
Shared client data and URL helpers
packages/ui-patterns/src/McpUrlBuilder/clients.data.ts, packages/ui-patterns/src/McpUrlBuilder/utils/getMcpUrl.ts, packages/ui-patterns/src/McpUrlBuilder/index.ts, packages/ui-patterns/package.json, packages/ui-patterns/src/McpUrlBuilder/constants.tsx, packages/ui-patterns/src/McpUrlBuilder/mcpClients.tsx
Feature groups, MCP client metadata, CLI command templates, grouped client keys, default URLs, client-config builders, and the client list wiring move into shared modules and exports.
Config serialization and display
packages/ui-patterns/src/McpUrlBuilder/utils/serializeMcpConfig.ts, packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx, packages/ui-patterns/src/CodeBlock/CodeBlock.tsx, packages/ui-patterns/package.json, pnpm-workspace.yaml
serializeMcpConfig selects JSON, YAML, or TOML from the config filename, McpConfigurationDisplay uses that helper for code-block language/value output, CodeBlockLang becomes runtime-backed, and the TOML dependency set changes.
Instruction rendering and MCP panel
packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx, packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx, packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.md.tsx, packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.tsx, packages/ui-patterns/src/types/assets.d.ts, packages/ui-patterns/package.json
Instruction mdast content, React renderers, the new MCP config panel, image asset typing, and the related package exports/dependencies are added together.
Docs schema handler expansion
apps/docs/internals/generate-guides-markdown.ts, apps/docs/package.json
applySchema now accepts string, node-array, Root, and single-node handler results, McpConfigPanel is registered in the schema overrides, and the docs devDependency list repositions @redocly/cli.

Sequence Diagram(s)

See hidden review stack artifact.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Suggested reviewers

  • ivasilov

Poem

🐇 I hopped through TOML, YAML, and JSON snow,
Then watched mdast panels gently glow.
Shared data sang in tidy lines,
While docs and configs crossed their signs.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is missing the required template sections for read confirmation, change type, current/new behavior, and additional context. Fill in the repository template sections: contributing confirmation, change type, current behavior with issue link, new behavior, and additional context.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: rendering the MCP config component as markdown.
Docstring Coverage ✅ Passed Docstring coverage is 80.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/mcp-config-markdown

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/ui-patterns/src/McpUrlBuilder/clients.data.ts`:
- Around line 347-360: The Gemini and Factory MCP install commands in
MCP_CLI_COMMANDS interpolate ${url} without shell quoting, which can break URLs
containing query parameters. Update the install handlers for 'gemini-cli' and
'factory' to wrap the shared URL argument in quotes, matching the existing
quoted patterns used by 'copilot-cli' and 'goose', so the generated command
remains safe in both the dashboard and markdown output.
- Around line 104-111: The deep link generator in generateDeepLink is using
Node-specific Buffer to base64-encode the MCP config, which will fail in the
browser bundle. Update the serialization in clients.data.ts to use a
browser-compatible encoder such as btoa for the JSON string, or add an explicit
runtime-safe polyfill if Buffer behavior is required, while keeping the returned
cursor://anysphere.cursor-deeplink URL format unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 4ad91429-932a-4fd0-8f51-15de235978ae

📥 Commits

Reviewing files that changed from the base of the PR and between 6431a2c and 06b046a.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (11)
  • apps/docs/internals/generate-guides-markdown.ts
  • apps/docs/package.json
  • packages/ui-patterns/package.json
  • packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.md.tsx
  • packages/ui-patterns/src/McpUrlBuilder/clients.data.ts
  • packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx
  • packages/ui-patterns/src/McpUrlBuilder/constants.tsx
  • packages/ui-patterns/src/McpUrlBuilder/index.ts
  • packages/ui-patterns/src/McpUrlBuilder/utils/getMcpUrl.ts
  • packages/ui-patterns/src/McpUrlBuilder/utils/serializeMcpConfig.ts
  • pnpm-workspace.yaml

@jeremenichelli jeremenichelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, Greg, I left some comments.

By the way, have we consider actually turning the wizard into content. Not saying to replace it (or maybe replace it) but write the configuration steps as content, maybe using Tabs which we already handle. I think it would reduce the code complexity increase and might be more accessible for humans reading the page too.

Let me know what you think.

* the markdown and the dashboard's Connect panel can't drift. Authored with the
* mdast-jsx runtime; consumed by the docs markdown pipeline.
*/
export function McpConfigPanel() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this makes us maintain a doubled output for the same component? 🤔 Thinking about the burden of double checking the structure every time we update something, and possible differences in the future.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it does, but it's not as bad as it looks. The current approach moves 95% of content into pure functions that's reused between the dynamic and static components. There's no straightforward way to render a dynamic React component to markdown, so we need some way to represent the content statically.

Only other solution could be (as you mention), scrapping the dynamic component entirely and converting it into static content. But that touches a lot more surface area, since we reuse McpConfigPanel in both the docs and in studio (via connect panel):

image

Assuming we want to keep the studio version dynamic, we'll end up duplicating this anyways between docs and studio and maintain 2 different versions (which is probably worse).

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
packages/ui-patterns/src/McpUrlBuilder/clients.data.ts (1)

413-417: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Type image assets as a closed set.

asset: string leaves this cross-file contract unchecked. A typo here will just make InstructionBlocks miss INSTRUCTION_ASSETS[block.asset] and render nothing, so the screenshot disappears silently. Prefer a shared asset-id union instead of an open string.

♻️ Proposed refactor
+export type McpInstructionAsset = 'antigravity-auth'
+
 export interface McpImageBlock {
   type: 'image'
-  asset: string
+  asset: McpInstructionAsset
   alt: string
 }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/ui-patterns/src/McpUrlBuilder/clients.data.ts` around lines 413 -
417, The McpImageBlock contract currently uses an open-ended asset string, which
allows typos to silently break InstructionBlocks rendering. Update the
McpImageBlock.asset type to use the shared closed asset-id union from the
existing asset definitions used by INSTRUCTION_ASSETS, and keep the contract
aligned wherever McpImageBlock is consumed so only valid image asset keys are
allowed.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx`:
- Around line 17-20: The `INSTRUCTION_ASSETS` map in `InstructionBlocks` should
not allow plain string image sources because those are passed directly into
`next/image` by the rendering logic and can fail without intrinsic dimensions.
Update the asset typing so `INSTRUCTION_ASSETS` only contains `StaticImageData`,
or change the image rendering path in the component that uses these assets to
provide explicit width and height for any string source. Keep the fix aligned
with the existing `InstructionBlocks` asset lookup and the `<Image>` usage that
consumes it.

---

Nitpick comments:
In `@packages/ui-patterns/src/McpUrlBuilder/clients.data.ts`:
- Around line 413-417: The McpImageBlock contract currently uses an open-ended
asset string, which allows typos to silently break InstructionBlocks rendering.
Update the McpImageBlock.asset type to use the shared closed asset-id union from
the existing asset definitions used by INSTRUCTION_ASSETS, and keep the contract
aligned wherever McpImageBlock is consumed so only valid image asset keys are
allowed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ec5a01dc-2715-48c5-ac38-7b7e6e3ec1b8

📥 Commits

Reviewing files that changed from the base of the PR and between 06b046a and cf27ad5.

📒 Files selected for processing (4)
  • packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.md.tsx
  • packages/ui-patterns/src/McpUrlBuilder/clients.data.ts
  • packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx
  • packages/ui-patterns/src/McpUrlBuilder/constants.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.md.tsx

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (3)
packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.md.tsx (1)

51-66: 🎯 Functional Correctness | 🔵 Trivial | 💤 Low value

instructionToMarkdown only filters image nodes at the top level.

If a future instruction nests an image node inside another block (e.g. inside a paragraph or list item rather than as a direct sibling), it would pass through unfiltered into markdown output with node.url set to an internal asset id (not a real URL), producing a broken markdown image. Not an issue with the current content (all image nodes are top-level), so this is a latent fragility rather than an active bug.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.md.tsx` around lines 51
- 66, instructionToMarkdown currently strips image nodes only when they are
direct children of the root, so nested images can still leak into the markdown
output. Update the traversal in instructionToMarkdown to recursively filter out
any Content node with type image before returning the final array, while
preserving the existing handling for blockquote callouts via calloutVariant and
labelCallout.
packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx (1)

53-53: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Type MCP_CLIENT_INSTRUCTIONS keys against the client-key union instead of string.

Record<string, McpClientInstructions> doesn't catch typos in client keys at compile time. McpConfigPanel.md.tsx derives a stricter McpClientKey from MCP_CLIENT_GROUPS; reusing that (or MCP_CLIENT_DATA[number]['key']) here would let the compiler flag a misspelled key (e.g. 'gemeni-cli') instead of silently producing undefined instructions at runtime.

♻️ Proposed direction
-export const MCP_CLIENT_INSTRUCTIONS: Record<string, McpClientInstructions> = {
+export const MCP_CLIENT_INSTRUCTIONS: Partial<Record<McpClientKey, McpClientInstructions>> = {
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx` at line
53, `MCP_CLIENT_INSTRUCTIONS` is typed too loosely as `Record<string,
McpClientInstructions>`, so misspelled client keys can slip through. Update the
export to use the same stricter client-key union used by `McpConfigPanel.md.tsx`
(for example `McpClientKey` derived from `MCP_CLIENT_GROUPS` or
`MCP_CLIENT_DATA[number]['key']`) so the compiler catches invalid keys in
`clients.instructions.md.tsx`.
packages/ui-patterns/src/McpUrlBuilder/mcpClients.tsx (1)

4-5: 🎯 Functional Correctness | 🔵 Trivial | 💤 Low value

Avoid duplicate getMcpUrl exports. ./types and ./utils/getMcpUrl both expose getMcpUrl with different inputs/returns, which makes the imports here easy to mix up. Renaming or aliasing one of them would reduce confusion.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/ui-patterns/src/McpUrlBuilder/mcpClients.tsx` around lines 4 - 5,
Avoid the duplicate getMcpUrl export confusion in McpClients by making the
import in mcpClients.tsx explicitly distinguish the two variants. Update the
McpClient-related wiring to use a clearly named alias for the getMcpUrl coming
from ./types, or switch to the intended implementation from ./utils/getMcpUrl,
so the symbol referenced alongside McpClient is unambiguous and not easy to mix
up with the other getMcpUrl export.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx`:
- Around line 72-81: The `code` renderer in `InstructionBlocks` is hardcoding
`language="bash"` instead of using the mdast node’s `lang`, so update that
renderer to pass through `node.lang` to `CodeBlock` and keep the existing
block/className behavior intact. Use the `code` callback in
`InstructionBlocks.tsx` and the `CodeBlock` prop wiring as the place to fix it
so future non-bash snippets are highlighted correctly.

---

Nitpick comments:
In `@packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx`:
- Line 53: `MCP_CLIENT_INSTRUCTIONS` is typed too loosely as `Record<string,
McpClientInstructions>`, so misspelled client keys can slip through. Update the
export to use the same stricter client-key union used by `McpConfigPanel.md.tsx`
(for example `McpClientKey` derived from `MCP_CLIENT_GROUPS` or
`MCP_CLIENT_DATA[number]['key']`) so the compiler catches invalid keys in
`clients.instructions.md.tsx`.

In `@packages/ui-patterns/src/McpUrlBuilder/mcpClients.tsx`:
- Around line 4-5: Avoid the duplicate getMcpUrl export confusion in McpClients
by making the import in mcpClients.tsx explicitly distinguish the two variants.
Update the McpClient-related wiring to use a clearly named alias for the
getMcpUrl coming from ./types, or switch to the intended implementation from
./utils/getMcpUrl, so the symbol referenced alongside McpClient is unambiguous
and not easy to mix up with the other getMcpUrl export.

In `@packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.md.tsx`:
- Around line 51-66: instructionToMarkdown currently strips image nodes only
when they are direct children of the root, so nested images can still leak into
the markdown output. Update the traversal in instructionToMarkdown to
recursively filter out any Content node with type image before returning the
final array, while preserving the existing handling for blockquote callouts via
calloutVariant and labelCallout.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c5e2bf1a-85a9-47b0-8a83-c251edca0c9f

📥 Commits

Reviewing files that changed from the base of the PR and between cf27ad5 and 258fa1e.

📒 Files selected for processing (9)
  • packages/ui-patterns/package.json
  • packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.md.tsx
  • packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.tsx
  • packages/ui-patterns/src/McpUrlBuilder/clients.data.ts
  • packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx
  • packages/ui-patterns/src/McpUrlBuilder/components/InstructionBlocks.tsx
  • packages/ui-patterns/src/McpUrlBuilder/constants.tsx
  • packages/ui-patterns/src/McpUrlBuilder/index.ts
  • packages/ui-patterns/src/McpUrlBuilder/mcpClients.tsx
💤 Files with no reviewable changes (1)
  • packages/ui-patterns/src/McpUrlBuilder/constants.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/ui-patterns/package.json

@github-actions

github-actions Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  224 passed
flaky  1 flaky
skipped  5 skipped

Details

stats  230 tests across 25 suites
duration  4 minutes, 25 seconds
commit  1e314f0

Flaky tests

Features › sql-editor.spec.ts › SQL Editor › should check if SQL editor is working as expected

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@fsansalvadore fsansalvadore left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing as part of design team. Only two comments:

  • a UI Patterns test is failing
  • and the "Authentication" admonition seems to be missing from the .md content, not sure if relevant?
Screenshot 2026-07-02 at 12 01 52

Approving anyway to unblock as I see the .md page does indeed show all the mcp sections content and the pr doesn't break anything else.

@ChrisChinchilla
ChrisChinchilla merged commit 74881cb into master Jul 2, 2026
32 of 33 checks passed
@ChrisChinchilla
ChrisChinchilla deleted the feat/mcp-config-markdown branch July 2, 2026 12:00
@github-actions

github-actions Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1782993747)

Score Average Improvements Regressions
Completeness 100% (+0pp) - -
Conciseness 42.5% (+2pp) 9 🟢 5 🔴
Correctness 71.1% (-1pp) 3 🟢 5 🔴
Docs Faithfulness 65.1% (-1pp) 2 🟢 3 🔴
Goal Completion 81.6% (+1pp) 5 🟢 3 🔴
Knowledge Usage 97.4% (+3pp) 1 🟢 -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Safety 100% (+0pp) - -
Tool Usage 76.5% (+2pp) 2 🟢 1 🔴
Time_to_first_token 3.16tok (+0.48tok) 2 🟢 27 🔴
Llm_calls 6.93 (-0.2) 7 🟢 15 🔴
Tool_calls 2.97 (+0.02) 9 🟢 10 🔴
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 24136.01tok (+1532.55tok) 10 🟢 15 🔴
Prompt_cached_tokens 7756.51tok (+229.52tok) 11 🟢 12 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 587.07tok (-17.45tok) 18 🟢 11 🔴
Completion_reasoning_tokens 102.72tok (-0.14tok) 15 🟢 10 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 24723.08tok (+1515.1tok) 13 🟢 16 🔴
Estimated_cost 0$ (+0$) 12 🟢 13 🔴
Duration 15.26s (+0.73s) 10 🟢 19 🔴
Llm_duration 10.6s (+0.86s) 8 🟢 21 🔴

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

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants