[PR #14649] [MERGED] cmd: use native Ollama API endpoint for OpenClaw #14764

Closed
opened 2026-04-13 01:02:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14649
Author: @BruceMacD
Created: 3/5/2026
Status: Merged
Merged: 3/5/2026
Merged by: @BruceMacD

Base: mainHead: brucemacd/ollama-openclaw-endpoint


📝 Commits (1)

  • 4c2b122 cmd: use native Ollama API endpoint for OpenClaw

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 cmd/config/openclaw.go (+1 -1)
📝 cmd/config/openclaw_test.go (+1 -1)

📄 Description

Remove the /v1 suffix from the OpenClaw provider baseUrl so it uses the native Ollama API instead of the OpenAI-compatible endpoint. The /v1 endpoint my break tool calling in OpenClaw.

Seems this was being automatically corrected by Openclaw itself, but good to clean up.

https://github.com/openclaw/openclaw/blob/main/docs/providers/ollama.md


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14649 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 3/5/2026 **Status:** ✅ Merged **Merged:** 3/5/2026 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/ollama-openclaw-endpoint` --- ### 📝 Commits (1) - [`4c2b122`](https://github.com/ollama/ollama/commit/4c2b12283bc39ecf0bee704d87219ca4b37c0bac) cmd: use native Ollama API endpoint for OpenClaw ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `cmd/config/openclaw.go` (+1 -1) 📝 `cmd/config/openclaw_test.go` (+1 -1) </details> ### 📄 Description Remove the /v1 suffix from the OpenClaw provider baseUrl so it uses the native Ollama API instead of the OpenAI-compatible endpoint. The /v1 endpoint my break tool calling in OpenClaw. Seems this was being automatically corrected by Openclaw itself, but good to clean up. https://github.com/openclaw/openclaw/blob/main/docs/providers/ollama.md --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 01:02:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#14764