| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- // 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)
- {
- // ──────────────────────────────────────────────────────────────
- // 1. Raccourcis Windows / Linux (remplace les bindings macOS)
- // ──────────────────────────────────────────────────────────────
- "base_keymap": "VSCode", // utilise quasi tous les raccourcis VSCode (donc Windows-friendly)
- // Si tu veux être encore plus précis et forcer quelques-uns manuellement :
- "key_bindings": {
- "ctrl-c": ["editor::Copy"],
- "ctrl-v": ["editor::Paste"],
- "ctrl-x": ["editor::Cut"],
- "ctrl-z": ["editor::Undo"],
- "ctrl-y": ["editor::Redo"],
- "ctrl-shift-z": ["editor::Redo"],
- "ctrl-a": ["editor::SelectAll"],
- "ctrl-f": ["editor::Find"],
- "ctrl-h": ["editor::Replace"],
- "ctrl-d": ["editor::DuplicateLine"],
- "ctrl-shift-d": ["editor::DeleteLine"]
- },
- // ──────────────────────────────────────────────────────────────
- // 2. Assistant Zed + Ollama local → modèle Hermes 3 8B
- // ──────────────────────────────────────────────────────────────
- "assistant": {
- "version": "2",
- "default_model": {
- "provider": "ollama",
- "model": "svjack/Qwen3-8B-heretic:latest" // ou le tag exact que tu utilises
- },
- "ollama": {
- "base_url": "http://localhost:11434"
- }
- },
- "language_models": {
- "ollama": {
- "api_url": "http://localhost:11434",
- "low_speed_timeout_in_seconds": 90, // Hermes 3 8B peut être un peu lent au 1er token
- "available_models": [
- {
- "name": "svjack/Qwen3-8B-heretic:latest",
- "display_name": "Qwen3-8B-heretic",
- "max_tokens": 1024,
- "max_output_tokens": 4096
- }
- ]
- }
- },
- // ──────────────────────────────────────────────────────────────
- // Paramètres recommandés pour Hermes 3 (moins créatif, plus précis)
- // ──────────────────────────────────────────────────────────────
- "assistant_request": {
- "temperature": 0.3,
- "top_p": 0.95,
- "max_tokens": 2048
- }
- }
|