Skip to content

OpenAI API implementation is broken - shows up only for agentic coding #8546

@Expro

Description

@Expro

For about a month, LocalAI fails to work correctly with agentic coding tools - issue is visible across several different tools: Visual Studio Code + Kilo Code, Visual Studio Code + Roo Code, Zed.

Issue manifest as empty chat responses from agent - just list of API Requests. Assistants performs works over code, but says nothing.

I have initially assumed that it may be issue with llama.cpp, but since there has been tens of llama.cpp updates. I have also hosted model externally via vLLM and those tools works correctly with it, so that eliminates agentic coding tools as source of issues.

How to reproduce:

  1. Install Visual Studio Code with Kilo Code extension OR install Visual Studio Code with Roo Code Extension OR install Zed.
  2. Host any model on LocalAI.
  3. Add model from point 2. to tool from point 1. via OpenAI API Compatible provider.
  4. Ask agent to perform any work on project - doesn't really matter what.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions