Fix empty Language-Specific Guidance header in system prompt
When a Rust-only workspace was detected, the Language-Specific Guidance header was appearing with no content because Rust has an empty prompt string (agent-specific prompts handle Rust instead). The fix filters out empty prompt strings in get_language_prompts_for_workspace() so the header only appears when there's actual guidance content. Added test to verify Rust-only workspaces return None.
This commit is contained in:
1
prompts/system/.#native.md
Symbolic link
1
prompts/system/.#native.md
Symbolic link
@@ -0,0 +1 @@
|
||||
dhanji@Dhanjis-Mac-Studio.local.20760:1769746925
|
||||
Reference in New Issue
Block a user