Repository navigation
Releases
Releases · 0xra0/zed
v1.27.0 - Zed with Ollama Agent & Prompt Caching Fixes
Zed 1.27.0 (Custom Build)
This release of Zed 1.27.0 includes dedicated enhancements for local model / Ollama execution and prompt prefix caching optimizations.
🌟 Highlights & Key Modifications
-
Ollama & Local LLM Terminal Tool Compatibility:
- Made the
cd(working directory) parameter optional via#[serde(default)]in bothTerminalToolInputandSandboxedTerminalToolInput. - Local models (e.g., Qwen 2.5 Coder, Mistral, Llama 3) that omit the working directory parameter when executing terminal commands now automatically default to the active project root without triggering JSON deserialization errors.
- Updated tool prompts and added automated unit tests (
test_terminal_cd_defaults_to_project_root_when_absent,test_sandboxed_terminal_cd_defaults_to_project_root_when_absent).
- Made the
-
Prompt-Prefix Caching Optimization:
- Refactored
Thread::build_title_requestand modularizedThread::request_toolsso thread title generation and summarization retain the active turn's system prompt and tool definitions. - Inference servers supporting prompt prefix / KV caching (such as Anthropic, Ollama, DeepSeek, and OpenAI-compatible gateways) can reuse cached tokens, significantly lowering latency and token usage.
- Added unit test
test_title_request_keeps_turn_prefix.
- Refactored
📦 Installation Quickstart
User Install (~/.local):
curl -LO https://github.com/0xra0/zed/releases/download/v1.27.0/zed-linux-x86_64.tar.gz
tar -xzf zed-linux-x86_64.tar.gz -C ~/.local --strip-components=1
export PATH="$HOME/.local/bin:$PATH"
zed --versionSystem Install (/usr/local):
sudo tar -xzf zed-linux-x86_64.tar.gz -C /usr/local --strip-components=1
sudo update-desktop-database🔒 Checksums (SHA256)
ffd14e016e3de59b834c5514f4d239cff9678a06c09a152fffd9d1d1dbbe0cf9 zed-linux-x86_64.tar.gz