[PR #14109] [MERGED] cmd: set claude code env vars on launch #14520

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14109
Author: @ParthSareen
Created: 2/6/2026
Status: Merged
Merged: 2/6/2026
Merged by: @jmorganca

Base: mainHead: parth-launch-claude-env-vars


📝 Commits (3)

  • 4c9cb14 cmd: set Claude Code model routing env vars on launch
  • b9336ff cmd: extract modelEnvVars and add tests for Claude env var routing
  • fcb32cb remove slog

📊 Changes

3 files changed (+119 additions, -4 deletions)

View changed files

📝 cmd/config/claude.go (+26 -1)
📝 cmd/config/claude_test.go (+93 -0)
📝 cmd/config/config.go (+0 -3)

📄 Description

No description provided


🔄 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/14109 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 2/6/2026 **Status:** ✅ Merged **Merged:** 2/6/2026 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `parth-launch-claude-env-vars` --- ### 📝 Commits (3) - [`4c9cb14`](https://github.com/ollama/ollama/commit/4c9cb14bf58e40d59b3422aeafef40b1121c7021) cmd: set Claude Code model routing env vars on launch - [`b9336ff`](https://github.com/ollama/ollama/commit/b9336ffc26343132fc6ced13238b2abdfeae2d2c) cmd: extract modelEnvVars and add tests for Claude env var routing - [`fcb32cb`](https://github.com/ollama/ollama/commit/fcb32cb7c3ba43bd59b3ed41a433e2805c97bd1e) remove slog ### 📊 Changes **3 files changed** (+119 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `cmd/config/claude.go` (+26 -1) 📝 `cmd/config/claude_test.go` (+93 -0) 📝 `cmd/config/config.go` (+0 -3) </details> ### 📄 Description _No description provided_ --- <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:38 -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#14520