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

Interface with remote server #75

Closed
christianazinn opened this issue Sep 12, 2024 · 1 comment
Closed

Interface with remote server #75

christianazinn opened this issue Sep 12, 2024 · 1 comment

Comments

@christianazinn
Copy link

It would be nice to be able to use the command line to access the server on a remote machine, as is doable with the TypeScript SDK. Methods that currently use file-based communication (e.g. server start, server stop) will not really be implementable, but everything else should be by simply pointing the base URL of the LMStudioClient to a remote machine.

We should support --port, --hostname options for individual commands, and allow the user to permanently set these options (e.g. for configurations where a client machine expects to always access a particular server). I suggest we add commands e.g. lms server setremote [hostname] [port] and lms server setlocal to revert to using the local server (names subject to change).

@christianazinn
Copy link
Author

Has been resolved at some point. It is now possible to use --host and --port flags on any lms subcommand to achieve this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant