[GH-ISSUE #16025] ollama launch claude-desktop #87890

Closed
opened 2026-05-10 06:32:57 -05:00 by GiteaMirror · 9 comments
Owner

Originally created by @dvignesh94 on GitHub (May 6, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/16025

What is the issue?

Environment:

Ollama: 0.23.1
Claude Desktop: 1.6259.1
macOS: arm64 (Apple Silicon)
Mac: MacBook Air

Description:
ollama launch claude-desktop successfully puts Claude Desktop into 3P gateway mode and writes a valid config to ~/Library/Application Support/Claude-3p/configLibrary/, but Claude Desktop rejects all Ollama Cloud models during discovery.
Steps to reproduce:

export OLLAMA_API_KEY=<valid_key>
ollama launch claude-desktop
Claude Desktop opens in Cowork 3P · Gateway mode
Model dropdown shows only "Legacy Model" with no selectable models
Sending a message fails with: There's an issue with the selected model (claude-sonnet-4-6). It may not exist or you may not have access to it.

Diagnostic details:
The gateway config is correctly written:
json{
"disableDeploymentModeChooser": true,
"inferenceGatewayApiKey": "",
"inferenceGatewayAuthScheme": "bearer",
"inferenceGatewayBaseUrl": "https://ollama.com",
"inferenceProvider": "gateway"
}
The API key works — curl to /v1/models returns 39 models in valid OpenAI-compatible format:
json{"object":"list","data":[{"id":"kimi-k2.6","object":"model","created":1774915200,"owned_by":"ollama"},{"id":"deepseek-v4-pro","object":"model","created":1776988800,"owned_by":"ollama"},...]}
curl to /api/tags also returns all 39 models successfully.
Key log line from ~/Library/Logs/Claude-3p/main.log:
[warn] [custom-3p] Gateway /v1/models returned 0 usable models { rawCount: 39 }
[info] [custom-3p] Model discovery: not supported by provider; picker = 0 (empty)
Claude Desktop fetches all 39 models but filters every single one out as "not usable." It then falls back to claude-sonnet-4-6 which doesn't exist on Ollama Cloud.
What I tried (none worked):

Restore and relaunch with fresh API key
Full quit and restart of Claude Desktop
Manually adding inferenceGatewayModels array to the config — ignored by Claude Desktop
Multiple API keys — all return models via curl but fail in Claude Desktop

Additional context:
This was working previously. It broke after a recent update (Claude Desktop 1.6259.1 or Ollama 0.23.1). The /v1/models response appears to be standard OpenAI-compatible format, so Claude Desktop's model validator may now require additional fields (e.g., capabilities, context_length) that Ollama Cloud doesn't provide.

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @dvignesh94 on GitHub (May 6, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/16025 ### What is the issue? Environment: Ollama: 0.23.1 Claude Desktop: 1.6259.1 macOS: arm64 (Apple Silicon) Mac: MacBook Air Description: ollama launch claude-desktop successfully puts Claude Desktop into 3P gateway mode and writes a valid config to ~/Library/Application Support/Claude-3p/configLibrary/, but Claude Desktop rejects all Ollama Cloud models during discovery. Steps to reproduce: export OLLAMA_API_KEY=<valid_key> ollama launch claude-desktop Claude Desktop opens in Cowork 3P · Gateway mode Model dropdown shows only "Legacy Model" with no selectable models Sending a message fails with: There's an issue with the selected model (claude-sonnet-4-6). It may not exist or you may not have access to it. Diagnostic details: The gateway config is correctly written: json{ "disableDeploymentModeChooser": true, "inferenceGatewayApiKey": "<redacted>", "inferenceGatewayAuthScheme": "bearer", "inferenceGatewayBaseUrl": "https://ollama.com", "inferenceProvider": "gateway" } The API key works — curl to /v1/models returns 39 models in valid OpenAI-compatible format: json{"object":"list","data":[{"id":"kimi-k2.6","object":"model","created":1774915200,"owned_by":"ollama"},{"id":"deepseek-v4-pro","object":"model","created":1776988800,"owned_by":"ollama"},...]} curl to /api/tags also returns all 39 models successfully. Key log line from ~/Library/Logs/Claude-3p/main.log: [warn] [custom-3p] Gateway /v1/models returned 0 usable models { rawCount: 39 } [info] [custom-3p] Model discovery: not supported by provider; picker = 0 (empty) Claude Desktop fetches all 39 models but filters every single one out as "not usable." It then falls back to claude-sonnet-4-6 which doesn't exist on Ollama Cloud. What I tried (none worked): Restore and relaunch with fresh API key Full quit and restart of Claude Desktop Manually adding inferenceGatewayModels array to the config — ignored by Claude Desktop Multiple API keys — all return models via curl but fail in Claude Desktop Additional context: This was working previously. It broke after a recent update (Claude Desktop 1.6259.1 or Ollama 0.23.1). The /v1/models response appears to be standard OpenAI-compatible format, so Claude Desktop's model validator may now require additional fields (e.g., capabilities, context_length) that Ollama Cloud doesn't provide. ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-05-10 06:32:57 -05:00
Author
Owner

@fufuizm commented on GitHub (May 6, 2026):

I have the same problem, unfortunately I couldn’t solve it, we produced some solutions to see what we can do with codex, but it doesn’t work, the last claude update broke the system.

<!-- gh-comment-id:4392228640 --> @fufuizm commented on GitHub (May 6, 2026): I have the same problem, unfortunately I couldn’t solve it, we produced some solutions to see what we can do with codex, but it doesn’t work, the last claude update broke the system.
Author
Owner

@rick-github commented on GitHub (May 6, 2026):

https://github.com/ollama/ollama/pull/16028

<!-- gh-comment-id:4392819260 --> @rick-github commented on GitHub (May 6, 2026): https://github.com/ollama/ollama/pull/16028
Author
Owner

@obrenoazvd commented on GitHub (May 7, 2026):

Eu tenho o mesmo problema, infelizmente não consegui resolvê-lo.

<!-- gh-comment-id:4394220281 --> @obrenoazvd commented on GitHub (May 7, 2026): Eu tenho o mesmo problema, infelizmente não consegui resolvê-lo.
Author
Owner

@fufuizm commented on GitHub (May 7, 2026):

https://github.com/ollama/ollama/pull/16028

So it was a single version?

<!-- gh-comment-id:4394481910 --> @fufuizm commented on GitHub (May 7, 2026): > https://github.com/ollama/ollama/pull/16028 So it was a single version?
Author
Owner

@ParthSareen commented on GitHub (May 8, 2026):

Unfortunately, Anthropic has removed support for non Claude models. Removed the integration.

<!-- gh-comment-id:4402920138 --> @ParthSareen commented on GitHub (May 8, 2026): Unfortunately, Anthropic has removed support for non Claude models. Removed the integration.
Author
Owner

@gorie25 commented on GitHub (May 8, 2026):

Unfortunately, Anthropic has removed support for non Claude models. Removed the integration.

where do you get information from

<!-- gh-comment-id:4403048263 --> @gorie25 commented on GitHub (May 8, 2026): > Unfortunately, Anthropic has removed support for non Claude models. Removed the integration. where do you get information from
Author
Owner

@ParthSareen commented on GitHub (May 8, 2026):

Unfortunately, Anthropic has removed support for non Claude models. Removed the integration.

where do you get information from

I made the Ollama integration with Claude

<!-- gh-comment-id:4403059276 --> @ParthSareen commented on GitHub (May 8, 2026): > > Unfortunately, Anthropic has removed support for non Claude models. Removed the integration. > > where do you get information from I made the Ollama integration with Claude
Author
Owner

@gorie25 commented on GitHub (May 8, 2026):

So now can we cann't use feature ollama launch claude-desktop anymore ?

<!-- gh-comment-id:4403082053 --> @gorie25 commented on GitHub (May 8, 2026): So now can we cann't use feature ollama launch claude-desktop anymore ?
Author
Owner

@AlejandroArriaga89 commented on GitHub (May 8, 2026):

So now can we cann't use feature ollama launch claude-desktop anymore ?

Yeah, man. I tried a moment ago.

<!-- gh-comment-id:4403098480 --> @AlejandroArriaga89 commented on GitHub (May 8, 2026): > So now can we cann't use feature ollama launch claude-desktop anymore ? Yeah, man. I tried a moment ago.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#87890