Skip to content

Add reasoning controls to lms chat#590

Open
will-lms wants to merge 7 commits into
mainfrom
will/lms-reasoning
Open

Add reasoning controls to lms chat#590
will-lms wants to merge 7 commits into
mainfrom
will/lms-reasoning

Conversation

@will-lms

Copy link
Copy Markdown
Contributor

Summary

  • Add lms chat --reasoning auto|on|off for session-level reasoning control.
  • Default auto leaves the SDK enableThinking value unset.
  • on and off explicitly pass enableThinking: true / false to chat predictions.
  • Add /reasoning in the interactive TUI to view or change the active session mode.

Validation

  • npx turbo run build --filter=@lmstudio/lms-cli...

@github-actions github-actions Bot added the CLA signed Indicates if all contributors have signed the CLA label Jun 19, 2026
@will-lms

Copy link
Copy Markdown
Contributor Author
$ lms chat -p hello
The user said "hello".
Acknowledge the greeting and offer assistance.
"Hello! How can I help you today?" (Keep it concise as per system instructions).Hello! How can I help you today?

$ lms chat -p hello --reasoning on
The user said "hello".
Acknowledge the greeting and offer assistance.

    *   "Hello! How can I help you today?"
    *   "Hi there! What's on your mind?"
Keep it concise as per system instructions.Hello! How can I help you today?

$ lms chat -p hello --reasoning off
Hello! How can I help you today?

@will-lms

Copy link
Copy Markdown
Contributor Author

Use of /reasoning on|off|auto
Screenshot 2026-06-19 at 7 12 12 PM

@will-lms

will-lms commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Automated Review:

No findings.

@will-lms will-lms marked this pull request as ready for review July 1, 2026 15:11
@will-lms will-lms requested a review from rugvedS07 July 1, 2026 15:11
@rugvedS07

Copy link
Copy Markdown
Member

I see that there is some change in behavior of how suggestions are handled, can you attach a video?

@will-lms

will-lms commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

I see that there is some change in behavior of how suggestions are handled, can you attach a video?

Screenshots already above. What do you want a video of?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA signed Indicates if all contributors have signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants