-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Open
Labels
area:aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usageBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:needs reproNeeds reproduction steps / someone to reproduceNeeds reproduction steps / someone to reproduce
Description
Summary
The Agent panel works for a few time then it either goes in an infinite loop doing something, either it says it will do something (like listing or searching) and it doesnt do it. The "loader" disappears after a few seconds just like that, without any errors.
Description
Steps to trigger the problem:
- Run Zed
- Open Agent Panel, ask something to do
- The Agent sometimes starts answering but it might have to use one tool, it just stops (see video).
It seems to have getting worse in the latest versions. Earlier (one week or two weeks ago?) I got the infinite loop thing a lot but not this "no action done" thing.
Expected Behavior: The agent does its thing
Actual Behavior: The agent stops just like it thinks it has done its job, no matter the model picked. I have no problem running VSCode+Cline with these models.
Sans.titre.mov
Model Provider Details
- Provider: Mistral API or custom OpenAI provider (with Mistral Small behind)
- Model Name: Codestral, devestral, magistral...
- Mode: Agent Panel
- Other Details (MCPs, other settings, etc):
Zed Settings:
// 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)
{
"context_servers": {
"mcp-server-gitlab": {
"source": "extension",
"enabled": true,
"settings": {
"gitlab_personal_access_token": "xxx",
"gitlab_api_url": "xxx"
}
},
"mcp-server-git": {
"source": "custom",
"enabled": true,
"command": "uvx",
"args": ["mcp-server-git"]
}
},
"icon_theme": "Material Icon Theme",
"journal": {
"hour_format": "hour24"
},
"collaboration_panel": {
// Whether to show the collaboration panel button in the status bar.
"button": false
},
"linked_edits": false,
"git": {
"inline_blame": {
"enabled": false
}
},
"tabs": {
"activate_on_close": "neighbour"
},
"languages": {
"Shell Script": {
"format_on_save": "on",
"formatter": {
"external": {
"command": "shfmt",
"arguments": [
"--filename",
"{buffer_path}",
"--indent",
"4",
"--space-redirects"
]
}
}
},
"Markdown": {
"format_on_save": "on",
"use_on_type_format": false,
"allow_rewrap": "anywhere",
"soft_wrap": "editor_width",
"prettier": {
"allowed": true
}
},
"Python": {
"language_servers": ["!ty", "pylsp", "!pyright", "ruff"],
"format_on_save": "on",
"formatter": [
{
"language_server": {
"name": "ruff"
}
},
{
"code_actions": {
"source.organizeImports.ruff": true,
"source.fixAll.ruff": true
}
}
]
}
},
"lsp": {
"ruff": {
"initialization_options": {
"config-file": "pyproject.toml"
},
"settings": {
"python": {
"pythonPath": "./.venv/bin/python"
}
}
},
"pylsp": {
"settings": {
"python": {
"pythonPath": "./.venv/bin/python"
},
"plugins": {
"mypy": {
"enabled": true,
"settings": {
"python": {
"pythonPath": "./.venv/bin/python"
}
}
},
"autopep8": { "enabled": false },
"black": { "enabled": false },
"flake8": { "enabled": false },
"isort": { "enabled": false },
"mccabe": { "enabled": false },
"pycodestyle": { "enabled": false },
"pydocstyle": { "enabled": false },
"pyflakes": { "enabled": false },
"pylint": { "enabled": false },
"yapf": { "enabled": false },
// keep the others
"jedi": { "enabled": false },
"rope": { "enabled": true },
"rope_autoimport": { "enabled": true },
"rope_completion": { "enabled": false },
// disable pylsp ruff in favor of `ruff server`
"ruff": { "enabled": false }
}
}
}
},
"ui_font_size": 14,
"buffer_font_size": 12,
"base_keymap": "SublimeText",
"buffer_font_family": "RobotoMono Nerd Font Mono",
"ui_font_family": ".SystemUIFont",
"theme": {
"mode": "system",
"light": "Hivacruz",
"dark": "Hivacruz"
},
"indent_guides": {
"enabled": true,
"line_width": 1,
"active_line_width": 1,
"coloring": "indent_aware",
"background_coloring": "disabled"
},
"show_wrap_guides": true,
"terminal": {
"font_family": "RobotoMono Nerd Font Mono",
"font_size": 11,
"detect_venv": {
"on": {
"activate_script": "pyenv",
"directories": [".env", "env", ".venv", "venv"]
}
}
},
"cursor_blink": true,
"telemetry": {
// Send debug info like crash reports.
"diagnostics": false,
// Send anonymized usage data like what languages you're using Zed with.
"metrics": false
},
"agent": {
"always_allow_tool_actions": false,
"enable_feedback": false,
"default_profile": "write",
"profiles": {
"write": {
"name": "Write",
"tools": {
"copy_path": true,
"create_directory": true,
"delete_path": true,
"diagnostics": true,
"edit_file": true,
"fetch": true,
"list_directory": true,
"project_notifications": true,
"move_path": true,
"now": true,
"find_path": true,
"read_file": true,
"grep": true,
"terminal": true,
"thinking": true,
"web_search": true,
"open": true
},
"enable_all_context_servers": true,
"context_servers": {
"mcp-server-gitlab": {
"tools": {
"search_repositories": true,
"push_files": true,
"get_file_contents": true,
"fork_repository": true,
"create_repository": true,
"create_or_update_file": true,
"create_merge_request": true,
"create_issue": true,
"create_branch": true
}
}
}
}
},
"default_model": {
"provider": "mistral",
"model": "codestral-latest"
},
"notify_when_agent_waiting": "never"
},
"language_models": {
"openai_compatible": {
"Sahar": {
"api_url": "xxx.com/v1",
"available_models": [
{
"name": "mistralai/Mistral-Small-3.1-24B-Instruct-2503",
"display_name": "Mistral Small 3.1",
"max_tokens": 128000,
"capabilities": {
"tools": true,
"images": true,
"parallel_tool_calls": true,
"prompt_cache_key": false
}
}
]
}
},
"mistral": {
"api_url": "https://api.mistral.ai/v1"
}
}
}Zed Version and System Specs
Zed: v0.205.6 (Zed)
OS: macOS 15.7
Memory: 16 GiB
Architecture: aarch64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usageBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:needs reproNeeds reproduction steps / someone to reproduceNeeds reproduction steps / someone to reproduce