-
Notifications
You must be signed in to change notification settings - Fork 792
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The conversation start but the call is never call, it loops on "tool calling" message
What I try :
- Different model / size (from 7 to 32b)
- Add OLLAMA_KEEP_ALIVE=30m to Ollama server
I was thinking is came from the model, but with the recent release of qwen3-coder:30b it should work.
I will be happy to help if someone have any clue on it
DEBUG file:
0-response-body.txt
0-request-body.json
I think this issue is related / similar to but not solved @yetone :
- bug: doesn't work with ollama models #2830
- bug: Showing "tool calling" infinitely after AvanteStop #2761
- bug: Avante Gets stuck on tool calling and never progresses past that point #2270
To reproduce
- Open file
- ask to modify something
Expected behavior
Tool start and modify / update the file
Installation method
Install via lazy vim extra package
My config:
return {
{
"yetone/avante.nvim",
opts = {
provider = "ollama",
behaviour = {
auto_suggestions = false,
auto_set_highlight_group = true,
auto_set_keymaps = true,
auto_apply_diff_after_generation = false,
support_paste_from_clipboard = false,
minimize_diff = true,
enable_token_counting = true,
auto_add_current_file = true,
auto_approve_tool_permissions = true,
---@type "popup" | "inline_buttons"
confirmation_ui_style = "inline_buttons",
--- Whether to automatically open files and navigate to lines when ACP agent makes edits
---@type boolean
acp_follow_agent_locations = true,
},
providers = {
ollama = {
model = "qwen3-coder:30b",
is_env_set = require("avante.providers.ollama").check_endpoint_alive,
extra_request_body = {
options = {
num_ctx = 32768,
temperature = 0,
keep_alive = "30m",
},
},
},
},
},
},
}
Environment
MacBook Pro M3 / 32 GB
ollama version is 0.14.2
NVIM v0.11.5
LuaJIT 2.1.1767980792
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working