lmstudio-ai / lmstudio-ai/docs

VSCode (Copilot) cant use v1 rest api

Open
#195 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
172
Forks
128
Avg merge
8m
Merged PRs (30d)
1

Description

Copilot is setup to use ollama API (No key needed), but it seems they want a version endpoint under /api:
```
2026-03-14 08:35:00 [DEBUG]
Received request: GET to /api/version
2026-03-14 08:35:00 [ERROR]
Unexpected endpoint or method. (GET /api/version). Returning 200 anyway
2026-03-14 08:35:24 [DEBUG]
Received request: GET to /api/version
2026-03-14 08:35:24 [ERROR]
Unexpected endpoint or method. (GET /api/version). Returning 200 anyway
2026-03-14 08:38:40 [DEBUG]
Received request: GET to /api/version
2026-03-14 08:38:40 [ERROR]
Unexpected endpoint or method. (GET /api/version). Returning 200 anyway
```

I am currently using LM Studio and am just locally hosting.

Or is there a way for me to add the /version endpoint myself?

Contributor guide

Open the contributing guide

Research direction

Start with the repository's API documentation and the logged GET /api/version requests in this issue. Determine whether the documented Ollama-compatible API is expected to expose this endpoint or whether the issue needs a documented workaround. Done means the endpoint behavior or supported configuration is clearly documented for VSCode Copilot users.

Written by the indexing model from the issue text.

Assessment

Tech stack
ollama
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.