Skip to content

Misc. bug: llama-server JS error "can't access property "delta", B.choices[0] is undefined" #15571

@d-a-v

Description

@d-a-v

Name and Version

version: 6275 (4d917cd)
built with cc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 for x86_64-linux-gnu

Operating systems

Linux

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

llama-server

Command line

llama-server --model Qwen3-32B/Qwen3-32B-Q8_0.gguf --n-gpu-layers 1000 --ctx-size 16384

Problem description & steps to reproduce

Running llama-server in a browser.

JS prompt is running well, answer is coming well. This issue occurs at the end of the answer.

This is the JS console output I get while running the minified server when the issue occurs:

TypeError: can't access property "delta", B.choices[0] is undefined

The answer is cleared from screen when the popup is OK'ed, history is not updated.

First Bad Commit

Last (tried) working version : "version: 5588 (2589ad3)"
Issue started between v5588 and v6275
I can bissect if needed, should I ?

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