Skip to content

Bionic 1.0.4 (Build 9) fails to start conversations with LM Studio (HTTP 400 / failed to parse grammar) #2227

Description

@T4SISU

Which version of LM Studio?

LM Studio 0.4.20 (Build 1)


Which operating system?

Windows 11


What is the bug?

After updating Bionic from 1.0.3 to 1.0.4 (Build 9), I can no longer start conversations through LM Studio.

The same model works correctly when used directly in LM Studio, so the issue only occurs when using Bionic.

The request reaches LM Studio successfully, but LM Studio returns HTTP 400 and reports a grammar parsing error.

Environment:

  • Bionic: 1.0.4 (Build 9)
  • LM Studio: 0.4.20 (Build 1)
  • Model: Qwen3 8B GGUF
  • GPU: NVIDIA RTX 5070

The issue is 100% reproducible in my environment.


Steps to reproduce

  1. Start LM Studio.
  2. Load the Qwen3 8B GGUF model.
  3. Start Bionic 1.0.4 (Build 9).
  4. Connect Bionic to LM Studio.
  5. Create a new conversation.
  6. Send any message.

Expected behavior

The conversation should start normally.


Actual behavior

Bionic reports:

Engine protocol ngPredictTokens request returned 400

Failed to initialize samplers:
failed to parse grammar

LM Studio reports:

Failed to initialize samplers:
failed to parse grammar

srv process error

failed to launch slot with task


Observations

From my investigation:

  • The issue started only after updating from Bionic 1.0.3 to 1.0.4 (Build 9).

  • The issue only occurs through Bionic.

  • LM Studio works correctly by itself.

  • HTTP 400 indicates that LM Studio receives the request successfully.

  • Immediately before the error, LM Studio logs contain many tool-* schema entries such as:

  • tool-search-file

  • tool-run-python

  • tool-render-svg

  • tool-read-skill

Immediately after those entries, LM Studio reports:

failed to parse grammar


Possible cause (hypothesis)

This is only a hypothesis based on the logs.

It appears that the failure occurs while LM Studio is processing Tool Calling / grammar-related data.

I cannot determine whether the root cause is in Bionic, LM Studio, or an incompatibility between them.

I hope these investigation results are useful.


Screenshots

I have attached screenshots showing:

  • the complete error message
  • the LM Studio log
  • the tool-* entries immediately before the grammar parsing failure

Unfortunately, I no longer have the original log files because I only preserved screenshots during my investigation.


Closing note

Thank you very much for all the work you've put into LM Studio and Bionic.

English is not my native language, and I have very little experience using GitHub.

This report was organized with the help of ChatGPT, but the investigation, testing, comparisons, and log collection were performed by me.

I really enjoy using your software as part of my personal AI project, Project NAGI.

Because I appreciate your work, I wanted to investigate this issue as carefully as I could instead of simply reporting that "it doesn't work."

I understand that bugs can be difficult to track down, but I sincerely hope this report helps identify the problem.

Thank you again for creating such an excellent piece of software.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions