Skip to content

error in examples/terminal-sim.py #114

@tywy7

Description

@tywy7

I get (of course lmstudio 0.3.17 is working on linux):

Traceback (most recent call last):
  File "/home/kolo/lmstudio-test2.py", line 9, in <module>
    model = lms.llm()
lmstudio.LMStudioWebsocketError: 
    LM Studio is not reachable at ws://localhost:1234/llm (due to httpx.ConnectError: All connection attempts failed).
    Is LM Studio running?

Question is, how check my configurations? What is ws: ?

for example:

$curl 127.0.0.1:1234
curl: (7) Failed to connect to 127.0.0.1 port 1234 after 0 ms: Could not connect to server

or similar.

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