Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lms server status --json should only return JSON #173

Open
yagil opened this issue Feb 22, 2025 · 1 comment
Open

lms server status --json should only return JSON #173

yagil opened this issue Feb 22, 2025 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@yagil
Copy link
Member

yagil commented Feb 22, 2025

Current

$ lms server status --json
The server is running on port 1234.
{"running":true,"port":1234}

Expected

$ lms server status --json
{"running":true,"port":1234}
@yagil yagil added bug Something isn't working good first issue Good for newcomers labels Feb 22, 2025
@gabrielInterligados
Copy link

Hello @yagil and lmstudio-ai team!

I've opened a Pull Request to resolve this issue. In the PR, I've added a validation to ensure that the --json parameter works as expected, returning only the JSON format output when specified.

You can find the PR here: #175

I appreciate any feedback and I'm available to make adjustments as needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants