Skip to content

[RFE] Support for tools in streaming mode #1431

@jesuino

Description

@jesuino

Feature request description

I can't use tools with streaming, it always fails with the following error:

{"code":500,"message":"Cannot use tools with stream","type":"server_error"}

Steps to reproduce:

  • Pull some model that supports tool (e.g. Qwen3:8b)
  • Serve the model
  • Use a client with tools in streaming mode (I used specifically the Java Langchain4j OpenAPI client)

Suggest potential solution

No response

Have you considered any alternatives?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions