Skip to content

[bug] LM Studio 本地部署的大模型无法连上。 #158

@lgsp-Leslie

Description

@lgsp-Leslie

详细描述这个 Bug

LM Studio 本地部署的大模型无法连上。

尝试过一下IP带版本号v1和不带版本号,均无法连上。
http://172.26.112.1:3690
http://localhost:3690
http://192.168.31.149:3690

API留空和随便填都试过、模型名称留空和填入都试过,均无法连上。

Image

我用本地搭建知识库的软件测试连接,是可以正常连上LM Studio的。

Image

NoteGen 版本

0.13.5

操作系统

Windows

报错日志

LM Studio日志

2025-04-29 14:14:55 [DEBUG]
Received request: OPTIONS to /v1/chat/completions
2025-04-29 14:14:55 [ERROR]
'messages' field is required
2025-04-29 14:14:56 [DEBUG]
Received request: OPTIONS to /v1/models
2025-04-29 14:14:56 [ERROR]
Unexpected endpoint or method. (OPTIONS /v1/models). Returning 200 anyway
2025-04-29 14:14:56 [DEBUG]
Received request: OPTIONS to /v1/chat/completions
2025-04-29 14:14:56 [ERROR]
'messages' field is required
2025-04-29 14:14:57 [DEBUG]
Received request: OPTIONS to /v1/chat/completions
2025-04-29 14:14:57 [ERROR]
'messages' field is required

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions