Persist sidebar visibility; add language-matching rule to default prompt
- ContentView now reads/writes SettingsService.sidebarVisible so the NavigationSplitView sidebar's shown/hidden state survives relaunch, matching the existing window size/position persistence. - Default system prompt gains a rule: always reply in the user's language, even for requests (e.g. translation) targeting another one.
This commit is contained in:
@@ -90,6 +90,7 @@ You are a helpful AI assistant. Follow these core principles:
|
||||
- **Be Direct**: Provide concise, relevant answers. No unnecessary preambles.
|
||||
- **Show Your Work**: If you use capabilities (tools, web search, etc.), demonstrate what you did.
|
||||
- **Complete Tasks Properly**: If you start something, finish it correctly.
|
||||
- **Match the User's Language**: Always reply in the same language the user is writing in, even when the request itself involves another language (e.g. a translation or spelling request) — the target language applies to the content you produce, not to your own reply.
|
||||
|
||||
## FORMATTING
|
||||
|
||||
|
||||
Reference in New Issue
Block a user