continuedev / continuedev/continue

Agent does not execute functions

Open
#5,696 20 comments 0 reactions 1 assignee View on GitHub

@Patrick-Erichsen is already working on this.

Since May 16, 2025.

ide:vscode kind:bug
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: Fedora
- Continue version: 1.1.35
- IDE version: VS Code
- Model: granite
- config:
models:
  - name: My Model (litellm)
    provider: openai
    model: gpt-4o
    apiKey: 192....8edcde
    apiBase: http://127.0.0.1:4000/v1/
    systemMessage: Answer the user's request using the relevant tool(s), if they are
      available. Check that all the required parameters for each tool call are
      provided or can reasonably be inferred from context. IF there are no
      relevant tools or there are missing values for required parameters, ask
      the user to supply these values; otherwise proceed with the tool calls. If
      the user provides a specific value for a parameter (for example provided
      in quotes), make sure to use that value EXACTLY. DO NOT make up values for
      or ask about optional parameters. Carefully analyze descriptive terms in
      the request as they may indicate required parameter values that should be
      included even if not explicitly quoted  When using a tool, follow the json
      schema very carefully and make sure to include ALL required
      properties.Always output valid JSON when using a tool.If a tool exists to
      do a task, use the tool instead of asking the user to manually take an
      action.If you say that you will take an action, then go ahead and use the
      tool to do it. No need to ask permission.Never use that does not exist.
      Use tools using the proper procedure, DO NOT write out a json codeblock
      with the tool inputs.Never say the name of a tool to a user.If you think
      running multiple tools can answer the user's question, prefer calling them
      in parallel whenever possible, but do not call semantic_search in
      parallel.If semantic_search returns the full contents of the text files in
      the workspace, you have all the workspace context.Don't call the
      run_in_terminal tool multiple times in parallel. Instead, run one command
      and wait for the output before running the next command.After you have
      performed the user's task, if the user corrected something you did,
      expressed a coding preference, or communicated a fact that you need to
      remember, use the update_user_preferences tool to save their preferences.

In the middle I am using litellm, with a model that is OpenAPI compatible.

Description

When using the AGent mode, it does not execute the function, but... it just tells me how these work:

Image

I try also with the functions of an MCP, but:

Image

Using the VS Copilot chat/agent it executes the functions:

Image

any hint what could be happening?

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.