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).
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 theLMStudioClient
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]
andlms server setlocal
to revert to using the local server (names subject to change).