Skip to content

Studio: Tweak system prompt to mention database - #3957

Merged
katinthehatsite merged 1 commit into
trunkfrom
fix/add-database-tool
Jun 29, 2026
Merged

Studio: Tweak system prompt to mention database#3957
katinthehatsite merged 1 commit into
trunkfrom
fix/add-database-tool

Conversation

@katinthehatsite

Copy link
Copy Markdown
Contributor

Related issues

Fixes STU-1924

How AI was used in this PR

It was used to make the adjustments to the system prompt.

Proposed Changes

This PR clarifies in system prompt how the user can access the database and how they can view it. Before the changes, this is what Studio Code was returning to me:

Screenshot 2026-06-24 at 3 47 51 PM

After modifying the system prompt:

Screenshot 2026-06-25 at 3 52 42 PM

Testing Instructions

  • Pull the changes from this branch
  • Start Studio with npm start
  • Navigate to Studio Code on one of the sites and ask different questions about database
  • Confirm that it gives correct information
  • Confirm that it sends you to Overview tab where you can access phpMyAdmin

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
@katinthehatsite katinthehatsite self-assigned this Jun 25, 2026
@katinthehatsite
katinthehatsite requested a review from a team June 25, 2026 14:06
@wpmobilebot

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 94838c3 vs trunk

app-size

Metric trunk 94838c3 Diff Change
App Size (Mac) 1311.91 MB 1311.91 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk 94838c3 Diff Change
load 1077 ms 1066 ms 11 ms ⚪ 0.0%

site-startup

Metric trunk 94838c3 Diff Change
siteCreation 6526 ms 6493 ms 33 ms ⚪ 0.0%
siteStartup 6476 ms 6992 ms +516 ms 🔴 8.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

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

LGTM!

@katinthehatsite
katinthehatsite merged commit 96d6aaf into trunk Jun 29, 2026
12 checks passed
@katinthehatsite
katinthehatsite deleted the fix/add-database-tool branch June 29, 2026 08:12
@katinthehatsite

Copy link
Copy Markdown
Contributor Author

Thanks for the review @gavande1 👍

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

Labels

None yet

3 participants