Skip to content

Misc. bug: Streaming tool calls does not return "type": "function", unlike non-stream #13798

Closed
@GinkREAL

Description

@GinkREAL

Name and Version

version: 5490 (fef693d)
built with Apple clang version 17.0.0 (clang-1700.0.13.3) for arm64-apple-darwin24.4.0

Operating systems

No response

Which llama.cpp modules do you know to be affected?

llama-server

Command line

Problem description & steps to reproduce

NonStream:

Image

Stream:

Image

this is important for libraries like llama-index who actually check that the tool call type is supported

Image

First Bad Commit

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions