[PR #13712] [MERGED] cmd: ollama config command to help configure integrations to use Ollama #40231

Closed
opened 2026-04-23 01:10:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13712
Author: @ParthSareen
Created: 1/14/2026
Status: Merged
Merged: 1/23/2026
Merged by: @ParthSareen

Base: mainHead: parth-x-cmd-auto-configure


📝 Commits (10+)

  • f6062c6 cmd: add interactive selector and connection config
  • 6839b23 cmd: add connect and launch commands for external apps
  • c0a003b cmd: add /connect and /launch REPL commands
  • a9de80a cmd: add tests for OpenCode settings setup
  • cd5176b integrations working
  • 38778da lint
  • ad68889 cmd: rename connect to integrations, add --launch flag, permission prompts
  • 3ce79a5 cmd: add codex version check, fix windows compatibility
  • 15f1922 cmd: add context length tip for local models
  • 54c9419 cmd: rename command to config, save to config/integrations, clear screen between steps

📊 Changes

17 files changed (+4487 additions, -0 deletions)

View changed files

📝 cmd/cmd.go (+2 -0)
cmd/config/claude.go (+36 -0)
cmd/config/claude_test.go (+42 -0)
cmd/config/codex.go (+61 -0)
cmd/config/codex_test.go (+28 -0)
cmd/config/config.go (+115 -0)
cmd/config/config_test.go (+373 -0)
cmd/config/droid.go (+174 -0)
cmd/config/droid_test.go (+454 -0)
cmd/config/files.go (+99 -0)
cmd/config/files_test.go (+502 -0)
cmd/config/integrations.go (+361 -0)
cmd/config/integrations_test.go (+188 -0)
cmd/config/opencode.go (+203 -0)
cmd/config/opencode_test.go (+437 -0)
cmd/config/selector.go (+499 -0)
cmd/config/selector_test.go (+913 -0)

📄 Description

Adds a ollama config to allow easy an easy way to integrate (to start off) with:

  • Droid
  • Codex
  • Claude
  • Opencode

🔄 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/13712 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 1/14/2026 **Status:** ✅ Merged **Merged:** 1/23/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-x-cmd-auto-configure` --- ### 📝 Commits (10+) - [`f6062c6`](https://github.com/ollama/ollama/commit/f6062c6de5a134867f491f7d49f84ec544de30f8) cmd: add interactive selector and connection config - [`6839b23`](https://github.com/ollama/ollama/commit/6839b23d1786d3a39a59360164c4a33f2d63de37) cmd: add connect and launch commands for external apps - [`c0a003b`](https://github.com/ollama/ollama/commit/c0a003be8a85ad76bda4a11b6a6e4fb432300130) cmd: add /connect and /launch REPL commands - [`a9de80a`](https://github.com/ollama/ollama/commit/a9de80a3324c789134ba8188f2cbaf9908e722dc) cmd: add tests for OpenCode settings setup - [`cd5176b`](https://github.com/ollama/ollama/commit/cd5176b51e86d2479e6d86d4527dba874d53ab72) integrations working - [`38778da`](https://github.com/ollama/ollama/commit/38778daa12d254d65db80d9e9903c5eae5886736) lint - [`ad68889`](https://github.com/ollama/ollama/commit/ad68889342bccf1662270f7c28a6773fbdfb2efd) cmd: rename connect to integrations, add --launch flag, permission prompts - [`3ce79a5`](https://github.com/ollama/ollama/commit/3ce79a5f8b33908553bacf90641edbacd8699c27) cmd: add codex version check, fix windows compatibility - [`15f1922`](https://github.com/ollama/ollama/commit/15f19227d64b3f10bc86dde22ac838c4e145a02d) cmd: add context length tip for local models - [`54c9419`](https://github.com/ollama/ollama/commit/54c94196c9b21a47f7c54142284279b122a6829e) cmd: rename command to config, save to config/integrations, clear screen between steps ### 📊 Changes **17 files changed** (+4487 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+2 -0) ➕ `cmd/config/claude.go` (+36 -0) ➕ `cmd/config/claude_test.go` (+42 -0) ➕ `cmd/config/codex.go` (+61 -0) ➕ `cmd/config/codex_test.go` (+28 -0) ➕ `cmd/config/config.go` (+115 -0) ➕ `cmd/config/config_test.go` (+373 -0) ➕ `cmd/config/droid.go` (+174 -0) ➕ `cmd/config/droid_test.go` (+454 -0) ➕ `cmd/config/files.go` (+99 -0) ➕ `cmd/config/files_test.go` (+502 -0) ➕ `cmd/config/integrations.go` (+361 -0) ➕ `cmd/config/integrations_test.go` (+188 -0) ➕ `cmd/config/opencode.go` (+203 -0) ➕ `cmd/config/opencode_test.go` (+437 -0) ➕ `cmd/config/selector.go` (+499 -0) ➕ `cmd/config/selector_test.go` (+913 -0) </details> ### 📄 Description Adds a `ollama config` to allow easy an easy way to integrate (to start off) with: - Droid - Codex - Claude - Opencode --- <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-23 01:10:51 -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#40231