[PR #14099] [MERGED] cmd: ollama launch improvements #14510

Closed
opened 2026-04-13 00:56:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14099
Author: @ParthSareen
Created: 2/5/2026
Status: Merged
Merged: 2/5/2026
Merged by: @ParthSareen

Base: mainHead: parth-launch-aliases


📝 Commits (9)

  • 545384a cmd: ollama launch claude code improvements
  • 0b07dfd add experimental aliases support
  • 80157f7 anthropic: estimate input tokens for message_start event
  • aca0489 cmd/config: clean up comments and remove dead code
  • 2e1e05d cleanup
  • 3453020 cmd/config: improve alias handling and model selection
  • 7b24289 cmd/config: inline ensureAliases and fix --model flag flow
  • 8455c0f cmd/config: validate model exists before saving
  • fcfa091 Address PR #14099 review feedback

📊 Changes

19 files changed (+2461 additions, -125 deletions)

View changed files

📝 anthropic/anthropic.go (+143 -17)
📝 anthropic/anthropic_test.go (+108 -14)
📝 api/client.go (+22 -0)
📝 cmd/cmd.go (+1 -1)
📝 cmd/config/claude.go (+107 -1)
📝 cmd/config/config.go (+35 -3)
cmd/config/config_cloud_test.go (+677 -0)
📝 cmd/config/config_test.go (+47 -0)
📝 cmd/config/integrations.go (+235 -62)
📝 cmd/config/integrations_test.go (+25 -17)
📝 cmd/config/openclaw.go (+0 -2)
📝 cmd/config/selector.go (+1 -0)
📝 cmd/config/selector_test.go (+20 -1)
📝 cmd/start_darwin.go (+5 -3)
📝 middleware/anthropic.go (+4 -1)
server/aliases.go (+422 -0)
📝 server/routes.go (+24 -3)
server/routes_aliases.go (+159 -0)
server/routes_aliases_test.go (+426 -0)

📄 Description

Claude code with subagent support
Supports cloud models only for now as the local kv cache could potentially break on every request as there can be n subagents running


🔄 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/14099 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 2/5/2026 **Status:** ✅ Merged **Merged:** 2/5/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-launch-aliases` --- ### 📝 Commits (9) - [`545384a`](https://github.com/ollama/ollama/commit/545384aa165d74156650afb29bf3fc2a8b12d1e0) cmd: ollama launch claude code improvements - [`0b07dfd`](https://github.com/ollama/ollama/commit/0b07dfdc71708be12d962b9dc98c1ffdef6b6f4d) add experimental aliases support - [`80157f7`](https://github.com/ollama/ollama/commit/80157f75128301208d7edd449936ecb7034f8531) anthropic: estimate input tokens for message_start event - [`aca0489`](https://github.com/ollama/ollama/commit/aca0489121a4c255961f0b75469fd0e8aa2d894c) cmd/config: clean up comments and remove dead code - [`2e1e05d`](https://github.com/ollama/ollama/commit/2e1e05db5da916611fe892fc7585b81790bec82e) cleanup - [`3453020`](https://github.com/ollama/ollama/commit/3453020b2384befde3f8bd084a3c4dd275f52b60) cmd/config: improve alias handling and model selection - [`7b24289`](https://github.com/ollama/ollama/commit/7b2428987152a39e3afeadfad50860f9903b94af) cmd/config: inline ensureAliases and fix --model flag flow - [`8455c0f`](https://github.com/ollama/ollama/commit/8455c0f3cd8f24956a7cf0a4356719bec6f796dd) cmd/config: validate model exists before saving - [`fcfa091`](https://github.com/ollama/ollama/commit/fcfa0911e346fd9075a0b501e8a69db8d1c8f1b6) Address PR #14099 review feedback ### 📊 Changes **19 files changed** (+2461 additions, -125 deletions) <details> <summary>View changed files</summary> 📝 `anthropic/anthropic.go` (+143 -17) 📝 `anthropic/anthropic_test.go` (+108 -14) 📝 `api/client.go` (+22 -0) 📝 `cmd/cmd.go` (+1 -1) 📝 `cmd/config/claude.go` (+107 -1) 📝 `cmd/config/config.go` (+35 -3) ➕ `cmd/config/config_cloud_test.go` (+677 -0) 📝 `cmd/config/config_test.go` (+47 -0) 📝 `cmd/config/integrations.go` (+235 -62) 📝 `cmd/config/integrations_test.go` (+25 -17) 📝 `cmd/config/openclaw.go` (+0 -2) 📝 `cmd/config/selector.go` (+1 -0) 📝 `cmd/config/selector_test.go` (+20 -1) 📝 `cmd/start_darwin.go` (+5 -3) 📝 `middleware/anthropic.go` (+4 -1) ➕ `server/aliases.go` (+422 -0) 📝 `server/routes.go` (+24 -3) ➕ `server/routes_aliases.go` (+159 -0) ➕ `server/routes_aliases_test.go` (+426 -0) </details> ### 📄 Description Claude code with subagent support Supports cloud models only for now as the local kv cache could potentially break on every request as there can be `n` subagents running --- <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 00:56:17 -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#14510