Fix tool results visibility, dynamic system prompt, rebrand Galaxy AI to Galaxy

- Rewrite extract_system_prompt to dynamically include CWD, OS, shell, git,
  project rules, and tool usage guidance from request context
- Fix extract_tool_result_content and format_tool_call_result to properly
  handle Grep, FileGlobV2, and ApplyFileDiffs results (were returning empty
  'Tool completed successfully' strings - model never saw file lists)
- Rename all 'Galaxy AI' references to just 'Galaxy' (menu, window title,
  bundle names, plist, welcome text, about)
- Update smoke test with file visibility test prompt
- Suppress dead_code warnings on unused smoke test functions
This commit is contained in:
Ryan Ward
2026-05-12 09:42:00 -05:00
parent c2c6b3bc8a
commit 0009f1366a
14 changed files with 353 additions and 36 deletions
+1 -1
View File
@@ -1396,7 +1396,7 @@ fn add_open_setting_pages_as_editable_binding(app: &mut AppContext) {
EditableBinding::new(
"workspace:show_settings_about_page",
BindingDescription::new("Open Settings: About")
.with_custom_description(bindings::MAC_MENUS_CONTEXT, "About Galaxy AI"),
.with_custom_description(bindings::MAC_MENUS_CONTEXT, "About Galaxy"),
WorkspaceAction::ShowSettingsPage(SettingsSection::About),
)
.with_group(bindings::BindingGroup::Settings.as_str())
+1 -1
View File
@@ -545,7 +545,7 @@ const TAB_BAR_PILL_WIDTH: f32 = 100.;
const PILL_FONT_SIZE: f32 = 12.;
// We use the word "Warp" in the Update Ready button to make it obvious that the terminal is Warp.
// This can lead to free advertising when users screen-share Warp when an update is available.
const UPDATE_READY_TEXT: &str = "Update Galaxy AI";
const UPDATE_READY_TEXT: &str = "Update Galaxy";
const TAB_BAR_OVERFLOW_MENU_WIDTH: f32 = 300.;