zed: track settings and the australis theme
Brings the Zed configuration under dotfiles management, stowed to ~/.config/zed alongside the other home_config packages. settings.json carries the Australis Dark theme selection, the PFI-LiteLLM OpenAI-compatible provider, explicit default_model and inline_assistant_model assignments, and the edit-prediction endpoint. The model assignments are required: the Inline Assistant, git commit message generation, and thread summaries each resolve their model independently of the agent panel's UI selection, and report the provider as unconfigured when neither setting is present. themes/australis-dark.json is generated from the palette spec in the australis repo (zed/build-theme.py there is the source of truth). The prompts/ directory is deliberately left untracked. It is an LMDB database with an active lock file, not user-authored content. No credentials are included. The provider API key lives in the system keychain, which is where Zed stores it; endpoint addresses are internal RFC 1918.
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"edit_predictions": {
|
||||
"allow_data_collection": "no",
|
||||
"provider": "open_ai_compatible_api",
|
||||
"open_ai_compatible_api": {
|
||||
"prompt_format": "qwen",
|
||||
"max_output_tokens": 100,
|
||||
"model": "coder-fast",
|
||||
"api_url": "http://10.250.50.70:4141/v1/completions"
|
||||
}
|
||||
},
|
||||
"disable_ai": false,
|
||||
"agent": {
|
||||
"default_model": {
|
||||
"provider": "PFI-LiteLLM",
|
||||
"model": "gen"
|
||||
},
|
||||
"inline_assistant_model": {
|
||||
"provider": "PFI-LiteLLM",
|
||||
"model": "gen"
|
||||
},
|
||||
"show_turn_stats": true,
|
||||
"favorite_models": [],
|
||||
"model_parameters": [],
|
||||
"auto_compact": {
|
||||
"threshold": "90%"
|
||||
}
|
||||
},
|
||||
"buffer_font_family": "VictorMono Nerd Font",
|
||||
"ui_font_family": ".ZedSans",
|
||||
"language_models": {
|
||||
"openai_compatible": {
|
||||
"PFI-LiteLLM": {
|
||||
"api_url": "http://10.250.50.70:4000/v1",
|
||||
"available_models": [
|
||||
{
|
||||
"name": "gen",
|
||||
"max_tokens": 200000,
|
||||
"max_output_tokens": 32000,
|
||||
"max_completion_tokens": 200000,
|
||||
"capabilities": {
|
||||
"tools": true,
|
||||
"images": true,
|
||||
"parallel_tool_calls": false,
|
||||
"prompt_cache_key": false,
|
||||
"chat_completions": true,
|
||||
"interleaved_reasoning": false,
|
||||
"max_tokens_parameter": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"vim_mode": false,
|
||||
"icon_theme": "Zed (Default)",
|
||||
"ui_font_size": 16.0,
|
||||
"buffer_font_size": 15,
|
||||
"theme": {
|
||||
"mode": "dark",
|
||||
"light": "One Light",
|
||||
"dark": "Australis Dark",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user