continuedev / continuedev/continue

Model fails to call tools, returns tool call in text instead

Open
#12,890 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:tools kind:bug os:linux
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Relevant environment info
- OS: Linux / NixOS
- Continue version: 2.0.0
- IDE version:
- Model: gemma4 e4b
- config:
  
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: Gemma 4
    provider: openai
    model: OpenVINO/gemma-4-E4B-it-int4-ov
    apiKey: unused
    apiBase: http://localhost:8000/v3
    roles:
      - chat
      - edit
      - apply
    capabilities:
      - tool_use
      - image_input
    requestOptions:
      extraBodyProperties:
        chat_template_kwargs:
          enable_thinking: false
    chatOptions:
      baseAgentSystemMessage: You are a useful AI Agent and give concise answers without any repetition

context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  
  OR link to agent in Continue hub:
Description

Hi everyone. I am trying to make use of tool calling for the model. As far as I am aware gemma4 and my Backend wich is OpenVINO run on my local machine inside a docker container support tool calling. Say I make a query like "Search the web for foo", then I get

Image

So I guess the model tries to call the search_web tool but somehow it fails silently. I have not found any similar reports. Somebody has an idea where to look first?

To reproduce

No response

Log output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The payload names no source files or tests. Start by reproducing the request with the shown Continue configuration, the OpenVINO-compatible apiBase, and the tool_use capability; compare the model's textual response with the expected search_web tool execution. Done means the reported setup invokes the tool instead of returning its call as text.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nixos, typescript
Domain
ai, backend-api-design, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.