Skip to content

Joshen/fe 4077 explorer query cells - #48989

Merged
joshenlim merged 15 commits into
masterfrom
joshen/fe-4077-explorer-query-cells
Aug 13, 2026
Merged

joshenlim merged 15 commits into
masterfrom
joshen/fe-4077-explorer-query-cells

Conversation

@joshenlim

@joshenlim joshenlim commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Context

Related to Explorer / Notebooks - adds a barebones query cell that minimally can run SQL queries + render results

The intention is to migrate the components used in the SQL Editor into this new Query cell since all the functionality is very similar, but the SQL Editor component is tightly coupled to the SQL Editor valtio store. So we'll be duplicating a bit of UI for now - which will also make deprecating the SQL Editor eventually a bit easier by just deleting them

Have deliberately omitted a lot of details for now just to keep the PRs small, so will be continuing to build out the QueryCell's functionality in subsequent PRs. This includes

  • Source selector
  • Data display (Table / Chart)
  • Autolimit logic

Other changes also includes

  • Updating NotebookEditor to use the new Explorer UI components that Saxon introduced
image image

Summary by CodeRabbit

  • New Features

    • Added notebook database cells for writing, editing, and running SQL queries.
    • Added query result displays with loading, empty, error, row-limit, and result states.
    • Added editable notebook titles with save and cancel controls.
    • New notebooks can start with customizable Markdown and SQL cells.
    • Added helpful SQL error actions, including copying messages, database connection guidance, and AI Assistant support where available.
  • Improvements

    • Improved notebook spacing, section layout, toolbar tooltips, and empty-result presentation.
    • Markdown changes now save automatically through the notebook editor.
    • Improved drag-and-drop controls and query visibility management.

@joshenlim
joshenlim requested a review from a team as a code owner August 12, 2026 12:25
@vercel

vercel Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
studio-self-hosted Ready Ready Preview Aug 12, 2026 1:33pm
studio-staging Ready Ready Preview Aug 12, 2026 1:33pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Aug 12, 2026 1:33pm
design-system Skipped Skipped Aug 12, 2026 1:33pm
docs Skipped Skipped Aug 12, 2026 1:33pm
ui-library Skipped Skipped Aug 12, 2026 1:33pm
zone-www-dot-com Skipped Skipped Aug 12, 2026 1:33pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 12, 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

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: fbb13de6-dc44-4563-9146-9ff2e36d18c5

📥 Commits

Reviewing files that changed from the base of the PR and between 7284730 and 04a48c4.

📒 Files selected for processing (1)
  • apps/studio/components/interfaces/Explorer/ExplorerToolbar/ExplorerToolbar.test.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/studio/components/interfaces/Explorer/ExplorerToolbar/ExplorerToolbar.test.tsx

📝 Walkthrough

Walkthrough

Explorer notebooks now support configurable Markdown and database cells. Database cells execute SQL, persist edits, and render query results and errors. Toolbar titles support inline editing, and toolbar actions support tooltips.

Changes

Explorer notebook queries

Layer / File(s) Summary
Notebook state and editor integration
apps/studio/components/interfaces/Explorer/hooks.ts, apps/studio/state/notebooks/notebooks-state.ts, apps/studio/components/interfaces/Explorer/ExplorerHome.tsx, apps/studio/components/interfaces/Explorer/NotebookEditor.tsx, apps/studio/components/interfaces/Explorer/MarkdownCell.tsx, apps/studio/components/ui/SortableSection.tsx, apps/studio/components/interfaces/ProjectHome/Home.tsx
Notebook creation accepts custom cells and defaults to Markdown and database cells. The editor resolves notebooks from the route and renders both cell types. Markdown changes persist directly to notebook state.
Query execution and result rendering
apps/studio/components/interfaces/Explorer/ExplorerQuery/ExplorerQuery.types.ts, apps/studio/components/interfaces/Explorer/QueryCell.tsx, apps/studio/components/interfaces/Explorer/QueryResultTable/index.tsx, apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
Database cells persist SQL and titles, execute SQL for the selected project, track errors and loading state, and render query rows, empty results, notices, and error actions.
Toolbar title editing and actions
apps/studio/components/interfaces/Explorer/ExplorerToolbar/index.tsx, apps/studio/components/interfaces/Explorer/ExplorerToolbar/ExplorerToolbar.test.tsx
Toolbar titles support edit, save, blur, Enter, and Escape interactions. Toolbar actions support optional tooltips. The toolbar test uses the shared custom render helper.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant ExplorerHome
  participant NotebookEditor
  participant QueryCell
  participant SQLExecution
  participant QueryResultTable
  ExplorerHome->>NotebookEditor: open configured notebook
  NotebookEditor->>QueryCell: render database cell
  QueryCell->>SQLExecution: execute SQL for selected project
  SQLExecution-->>QueryCell: return rows or error
  QueryCell->>QueryResultTable: render QueryResult
Loading

Possibly related PRs

Suggested reviewers: awaseem

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description contains only a TBD context note and omits the required template sections and implementation details. Complete the template with the CONTRIBUTING.md confirmation, change type, current behavior, new behavior, relevant issues, and additional context.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the Explorer query-cell feature, although it includes a branch and issue prefix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch joshen/fe-4077-explorer-query-cells

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: 7

🧹 Nitpick comments (2)
apps/studio/components/interfaces/Explorer/QueryCell.tsx (2)

51-52: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use an is prefix for query visibility.

Rename showQuery to isQueryVisible and rename its setter consistently. As per coding guidelines, “Use boolean names beginning with is, has, can, or should.”

🤖 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 `@apps/studio/components/interfaces/Explorer/QueryCell.tsx` around lines 51 -
52, Rename the showQuery state variable in QueryCell to isQueryVisible and
rename its setter consistently, updating all references in the component while
preserving the existing visibility behavior.

Source: Coding guidelines


64-69: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Remove the double type cast.

error as unknown as ResponseError hides an incompatible error contract. Make QueryResult.error accept the mutation error type, or map the error fields at this boundary. As per coding guidelines, “Avoid TypeScript as casts.”

🤖 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 `@apps/studio/components/interfaces/Explorer/QueryCell.tsx` around lines 64 -
69, Update the onError handler in QueryCell to remove the double type cast when
assigning QueryResult.error. Align QueryResult.error with the mutation’s actual
error type, or explicitly map the mutation error fields to the expected
ResponseError shape at this boundary, without using TypeScript as-casts.

Source: Coding guidelines

🤖 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 `@apps/studio/components/interfaces/Explorer/ExplorerToolbar/index.tsx`:
- Around line 62-107: Update the title editing flow around the toolbar’s value
state and Input/Button rendering: remove the local synchronization useEffect,
initialize the draft from title when editing starts, and keep the draft only
while editing. Render title—not value—when static, and when onSaveTitle is
absent render a non-interactive title instead of enabling editing; preserve
Escape cancellation and save behavior for editable titles.

In `@apps/studio/components/interfaces/Explorer/hooks.ts`:
- Around line 11-37: Replace the module-level DEFAULT_CELLS value with a cell
factory function that creates fresh cell objects and generates new UUIDs on each
invocation. Update the notebook initialization at line 65 to call this factory
so every notebook receives unique cell IDs and an independent cells array.

In `@apps/studio/components/interfaces/Explorer/QueryCell.tsx`:
- Around line 72-79: Update onRunQuery in QueryCell so it persists the current
editor value to the database cell before calling executeQuery. Reuse the
existing persistence logic from the Line 145 path, ensuring Ctrl/Cmd+Enter saves
the latest SQL while preserving the current query execution behavior.
- Around line 72-79: Update onRunQuery to avoid discarding the query mutation
Promise: replace executeQuery’s mutateAsync-style invocation with mutate,
preserving the existing project validation, SQL transformation, and
callback-driven result updates.

In `@apps/studio/components/interfaces/Explorer/QueryResultTable/index.tsx`:
- Around line 145-173: The recovery actions in QueryResultTable currently do
nothing: implement the “Switch to primary database” Button handler and the
AiAssistantDropdown’s buildPrompt and onOpenAssistant behavior, or conditionally
remove both controls until functional implementations are available. Ensure no
visible recovery action has an empty callback or prompt.
- Around line 95-100: Replace the clickable span elements in QueryResultTable
with an accessible Button or equivalent interactive control, preserving the
existing styling and setShowConnect(true) behavior. Apply the change to both
connection prompts, including the additional occurrence around the second
referenced section, so keyboard users can open the connection flow.

In `@apps/studio/state/notebooks/notebooks-state.ts`:
- Around line 114-119: Update useCurrentNotebook to read the route project
reference from useParams and only return the notebook when its stored projectRef
matches that route ref; otherwise return undefined, preventing cached notebooks
from another project from being used.

---

Nitpick comments:
In `@apps/studio/components/interfaces/Explorer/QueryCell.tsx`:
- Around line 51-52: Rename the showQuery state variable in QueryCell to
isQueryVisible and rename its setter consistently, updating all references in
the component while preserving the existing visibility behavior.
- Around line 64-69: Update the onError handler in QueryCell to remove the
double type cast when assigning QueryResult.error. Align QueryResult.error with
the mutation’s actual error type, or explicitly map the mutation error fields to
the expected ResponseError shape at this boundary, without using TypeScript
as-casts.
🪄 Autofix

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 Plus

Run ID: 74ee577d-a692-48c2-be0b-312ec234ad57

📥 Commits

Reviewing files that changed from the base of the PR and between 47595f8 and 5eb42fc.

📒 Files selected for processing (11)
  • apps/studio/components/interfaces/Explorer/ExplorerHome.tsx
  • apps/studio/components/interfaces/Explorer/ExplorerQuery/ExplorerQuery.types.ts
  • apps/studio/components/interfaces/Explorer/ExplorerToolbar/index.tsx
  • apps/studio/components/interfaces/Explorer/MarkdownCell.tsx
  • apps/studio/components/interfaces/Explorer/NotebookEditor.tsx
  • apps/studio/components/interfaces/Explorer/QueryCell.tsx
  • apps/studio/components/interfaces/Explorer/QueryResultTable/index.tsx
  • apps/studio/components/interfaces/Explorer/hooks.ts
  • apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
  • apps/studio/components/ui/SortableSection.tsx
  • apps/studio/state/notebooks/notebooks-state.ts

@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.

♻️ Duplicate comments (2)
apps/studio/components/interfaces/Explorer/QueryCell.tsx (2)

72-79: ⚠️ Potential issue | 🟠 Major

Handle the mutateAsync rejection.

executeQuery is mutateAsync, but onRunQuery does not await or catch it. A failed SQL request runs onError and still rejects, which can create an unhandled Promise rejection. Use mutate, or handle the rejected Promise explicitly.

🤖 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 `@apps/studio/components/interfaces/Explorer/QueryCell.tsx` around lines 72 -
79, Update onRunQuery to avoid an unhandled rejection from executeQuery, which
is mutateAsync: either switch to the mutation’s mutate API or await executeQuery
and explicitly catch its rejection while preserving the existing onError
behavior.

72-79: ⚠️ Potential issue | 🟠 Major

Persist the current SQL before execution.

Ctrl/Cmd+Enter invokes onRunQuery while the editor remains focused. The blur handler may not run, so the notebook can retain older SQL while the current text executes. Save value through handleUpdateCell before calling executeQuery.

🤖 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 `@apps/studio/components/interfaces/Explorer/QueryCell.tsx` around lines 72 -
79, Update onRunQuery to persist the editor’s current value through
handleUpdateCell before invoking executeQuery, ensuring Ctrl/Cmd+Enter saves the
latest SQL even while the editor remains focused. Keep the existing SQL
transformation and execution flow unchanged.
🧹 Nitpick comments (3)
apps/studio/components/interfaces/Explorer/QueryCell.tsx (3)

51-52: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use an is-prefixed name for the visibility state.

Rename showQuery to isQueryVisible and rename setShowQuery to the matching setter. Update all render and toggle sites.

As per coding guidelines, boolean names must begin with is, has, can, or should.

Also applies to: 121-123, 134-134

🤖 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 `@apps/studio/components/interfaces/Explorer/QueryCell.tsx` around lines 51 -
52, Rename the QueryCell visibility state from showQuery to isQueryVisible and
its setter to the matching isQueryVisible setter, then update every render and
toggle reference in QueryCell to use the new names.

Source: Coding guidelines


72-80: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use handleRunQuery for the internal handler.

onRunQuery is an internal event handler, not a prop callback. Rename it to handleRunQuery and update both call sites.

As per coding guidelines, prop callbacks use onX, and internal event handlers use handleX.

Also applies to: 129-129, 141-141

🤖 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 `@apps/studio/components/interfaces/Explorer/QueryCell.tsx` around lines 72 -
80, Rename the internal event handler onRunQuery to handleRunQuery and update
both of its call sites, including the references around the affected UI
handlers. Keep the existing query execution logic unchanged.

Source: Coding guidelines


64-68: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Avoid the double type assertion for execution errors.

error as unknown as ResponseError bypasses type checking. If the mutation returns another error shape, QueryResult can store an invalid value. Type the mutation error as ResponseError, or narrow and normalize the error before storing it.

As per coding guidelines, avoid TypeScript as casts and parse external data at the boundary.

🤖 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 `@apps/studio/components/interfaces/Explorer/QueryCell.tsx` around lines 64 -
68, Update the mutation error handling around the onError callback in QueryCell
to avoid the double type assertion. Type the mutation’s error as ResponseError
when defining the mutation, or narrow and normalize the received error at the
boundary before assigning it to QueryResult.error, preserving the existing error
result behavior.

Source: Coding guidelines

🤖 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.

Duplicate comments:
In `@apps/studio/components/interfaces/Explorer/QueryCell.tsx`:
- Around line 72-79: Update onRunQuery to avoid an unhandled rejection from
executeQuery, which is mutateAsync: either switch to the mutation’s mutate API
or await executeQuery and explicitly catch its rejection while preserving the
existing onError behavior.
- Around line 72-79: Update onRunQuery to persist the editor’s current value
through handleUpdateCell before invoking executeQuery, ensuring Ctrl/Cmd+Enter
saves the latest SQL even while the editor remains focused. Keep the existing
SQL transformation and execution flow unchanged.

---

Nitpick comments:
In `@apps/studio/components/interfaces/Explorer/QueryCell.tsx`:
- Around line 51-52: Rename the QueryCell visibility state from showQuery to
isQueryVisible and its setter to the matching isQueryVisible setter, then update
every render and toggle reference in QueryCell to use the new names.
- Around line 72-80: Rename the internal event handler onRunQuery to
handleRunQuery and update both of its call sites, including the references
around the affected UI handlers. Keep the existing query execution logic
unchanged.
- Around line 64-68: Update the mutation error handling around the onError
callback in QueryCell to avoid the double type assertion. Type the mutation’s
error as ResponseError when defining the mutation, or narrow and normalize the
received error at the boundary before assigning it to QueryResult.error,
preserving the existing error result behavior.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 456cc041-f03a-4f95-9bdd-08e689ef97ff

📥 Commits

Reviewing files that changed from the base of the PR and between 5eb42fc and bda1932.

📒 Files selected for processing (2)
  • apps/studio/components/interfaces/Explorer/ExplorerToolbar/index.tsx
  • apps/studio/components/interfaces/Explorer/QueryCell.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/studio/components/interfaces/Explorer/ExplorerToolbar/index.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

🤖 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 `@apps/studio/components/interfaces/Explorer/NotebookEditor.tsx`:
- Around line 87-91: Update the toolbar actions in NotebookEditor so Analyze,
Run notebook, and Save changes either invoke their appropriate handlers or are
explicitly disabled when unavailable. For disabled actions, provide tooltips
explaining the reason; do not leave any rendered control enabled without
functional behavior.
🪄 Autofix

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 Plus

Run ID: 9004be28-0b19-4a0b-b436-02d0f2d90c63

📥 Commits

Reviewing files that changed from the base of the PR and between bda1932 and 3ee0c3d.

📒 Files selected for processing (8)
  • apps/studio/components/interfaces/Explorer/ExplorerToolbar/index.tsx
  • apps/studio/components/interfaces/Explorer/NotebookEditor.tsx
  • apps/studio/components/interfaces/Explorer/QueryCell.tsx
  • apps/studio/components/interfaces/Explorer/QueryResultTable/index.tsx
  • apps/studio/components/interfaces/Explorer/hooks.ts
  • apps/studio/components/interfaces/ProjectHome/Home.tsx
  • apps/studio/components/ui/SortableSection.tsx
  • apps/studio/state/notebooks/notebooks-state.ts
🚧 Files skipped from review as they are similar to previous changes (4)
  • apps/studio/state/notebooks/notebooks-state.ts
  • apps/studio/components/interfaces/Explorer/QueryResultTable/index.tsx
  • apps/studio/components/interfaces/Explorer/hooks.ts
  • apps/studio/components/interfaces/Explorer/ExplorerToolbar/index.tsx

@github-actions

github-actions Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results (next)

passed  242 passed
flaky  1 flaky
skipped  5 skipped

Details

stats  248 tests across 29 suites
duration  4 minutes, 40 seconds
commit  9ded1c1

Flaky tests

Features › table-editor.spec.ts › table editor › should show rls accordingly

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

onMouseDown={(e) => e.preventDefault()}
onClick={() => handleUpdateMarkdown(cell.id, value)}
>
Save

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.

Does this just save local state or does it also persist?

@joshenlim joshenlim Aug 13, 2026 •

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.

just have local state - the persistence of data will come from saving the whole notebook
although i understand the confusion though, so was thinking of coming back to this

Saxon's UI prototype used the copy "Done" instead of "Save" so perhaps that might be clearer

@joshenlim
joshenlim merged commit 77c5a0b into master Aug 13, 2026
38 checks passed
@joshenlim
joshenlim deleted the joshen/fe-4077-explorer-query-cells branch August 13, 2026 01:44
@github-actions

github-actions Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1786585669)

Score Average Improvements Regressions
Completeness 100% (+7.000000000000001pp) 6 🟢 -
Conciseness 41.1% (-2pp) 7 🟢 10 🔴
Correctness 74.5% (+6pp) 3 🟢 2 🔴
Docs Faithfulness 63.7% (+6pp) 5 🟢 6 🔴
Goal Completion 81.8% (+8pp) 11 🟢 2 🔴
Knowledge Usage 97.4% (-3pp) - 1 🔴
Tool Usage 76.7% (+3pp) 3 🟢 1 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+3pp) 1 🟢 -
Safety 95.2% (+2pp) 1 🟢 -
URL Validity 100% (+0pp) - -
Time_to_first_token 4.96tok (+2.4tok) - 32 🔴
Llm_calls 7.59 (+0.66) 25 🟢 5 🔴
Tool_calls 2.75 (-0.02) 10 🟢 12 🔴
Errors 0 (-0.26) 16 🟢 -
Llm_errors 0 (-0.01) 1 🟢 -
Tool_errors 0 (+0) - -
Prompt_tokens 22192.96tok (-3479.6tok) 18 🟢 11 🔴
Prompt_cached_tokens 9621.33tok (-320tok) 14 🟢 12 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 561.7tok (-23.76tok) 13 🟢 19 🔴
Completion_reasoning_tokens 87.49tok (-12.34tok) 18 🟢 12 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 22754.66tok (-3503.36tok) 18 🟢 14 🔴
Estimated_cost 0$ (0$) 20 🟢 10 🔴
Duration 21.07s (+7.65s) 1 🟢 31 🔴
Llm_duration 16s (+6.02s) - 32 🔴

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