Commit graph

140 commits

Author SHA1 Message Date
Eva H
5187f59581
test: stabilize Pi catalog timeout regressions (#19742) 2026-11-20 16:34:09 -05:00
Eva H
8a89b76cc7
launch: refresh Pi metadata after sign-in and honor prompt args (#19575) 2026-11-10 17:43:58 -05:00
Eva H
f1ee5679fe
cmd/launch: use thinking metadata for OpenCode settings (#19409) 2026-11-09 17:29:01 -05:00
Eva H
1f23c7232e
Improve ChatGPT CLI restore and graceful restart (#19583)
Make --restore confirm before changing an active profile, leave a closed
app closed, and preserve existing settings and chat history. Let interactive
users finish ChatGPT's own quit prompt instead of force-quitting it.

Carry cancellation and timeouts through status checks, quit requests and
exit polling. Check cancellation before profile writes, and keep legacy
PID and singleton probes read-only until shutdown is confirmed, including
when a legacy client starts after preflight.

Keep context checks around process queries so a canceled probe cannot be
mistaken for a confirmed exit. Publish the legacy-quit test marker with an
atomic rename so cancellation cannot interrupt its write.

Validation: 591 launch tests, focused race checks, CLI build, and 100 repeated
legacy-quit cancellation checks with the race detector.

* Fix ChatGPT restore CI setup

Stub installed-app discovery in the late legacy-start consent test so it
runs without ChatGPT installed on the CI host.

Document the containedctx exception for the context implementation that
observes spinner cancellation synchronously. This preserves the existing
cancellation behavior while satisfying the repository lint configuration.
2026-11-09 12:29:51 -05:00
Eva H
5e983d4f80
launch: fix Claude Code routing and retired model errors (#19587) 2026-11-06 21:28:13 -05:00
J Berg
02480ca2a4
cmd/launch: add Kimi Code CLI support (#19506) 2026-11-05 13:41:21 -08:00
Parth Sareen
32ce4379cc
cmd/launch: show gateway model names in Claude Desktop's model picker (#19533) 2026-11-05 10:40:54 -08:00
Eva H
e9fde36d75
launch: populate Pi models automatically (#19460) 2026-11-03 15:26:02 -08:00
Eva H
0c85e0afbe
launch: check ChatGPT routing before configuring (#19470) 2026-11-02 13:39:49 -08:00
Parth Sareen
f9323416f0
feat(launch): use model output limits for Claude Code (#19410) 2026-10-30 14:34:54 -07:00
Eva H
174cb1dcca
app: make ChatGPT disconnect failures retryable (#19336) 2026-10-30 17:34:24 -04:00
Eva H
c31a690bc2
cmd: show help when running ollama without arguments (#19248) 2026-10-28 16:58:14 -04:00
Eva H
8ec9ecdf69
cmd/launch: fix OpenCode v2 launch and config parsing (#19310)
Co-authored-by: 0d00ciallo0721 <259874237+0d00ciallo0721@users.noreply.github.com>
2026-10-26 22:18:30 -04:00
Eva H
1472203c47
launch: use allocated context for OpenCode (#19193) 2026-10-23 11:45:15 -07:00
J Berg
4568674810
Make sure all launchers know about cloud model metadata (#19223) 2026-10-22 15:41:36 -07:00
Parth Sareen
8886afcd80
launch: use cloud model context in Claude Code (#19119) 2026-10-22 11:04:30 -07:00
Eva H
e61ba8b470
openai: finish reasoning before client tool calls (#19146) 2026-10-19 18:51:48 -07:00
Jonathan Berg
b5c4e9058a avoid scary claude warning about auto compact window being too big 2026-10-19 15:06:12 -07:00
Parth Sareen
45e6011815
launch: allow usage credits without upgrading (#18985) 2026-10-13 14:23:05 -07:00
Parth Sareen
6eaad72953
launch: populate Codex model picker with installed Ollama models (#18887) 2026-10-12 10:52:41 -07:00
Eva H
021cda5228
launch: suppress Claude Code connector warning for Ollama (#18878)
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
2026-10-09 11:04:07 -04:00
Eva H
c2b7368d41
launch: avoid inherited service-tier warnings in Codex (#18879) 2026-10-08 16:18:09 -04:00
Jonathan Berg
0c7340b4bb respect CLAUDE_CODE_AUTO_COMPACT_WINDOW user setting 2026-10-08 10:33:11 -07:00
Jonathan Berg
c77b81c503 Set CLAUDE_CODE_MAX_CONTEXT_TOKENS to whatever the models context window is 2026-10-07 16:09:35 -07:00
Parth Sareen
01c0fbfd35
launch: default Claude Code to client-side auto checks (#18596) 2026-09-23 15:20:45 -07:00
Eva H
ac3439083d
app: avoid System Events for ChatGPT/Codex detection (#18601) 2026-09-22 13:28:58 -07:00
Parth Sareen
d0c8cdb795
api: expose model thinking levels and defaults (#18473) 2026-09-18 14:10:53 -07:00
Eva H
34afa1a0c8
app: open Codex by default for Ollama launches (#18323) 2026-09-08 13:40:20 -07:00
Parth Sareen
9ef6c19341
app: preserve Codex configuration across host changes (#18247) 2026-09-08 12:42:37 -07:00
Parth Sareen
83ed7d9965
app: harden Codex desktop proxy handling (#18244) 2026-09-04 17:48:55 -07:00
Parth Sareen
43e667004a
app: route Codex auto review through selected model (#18246) 2026-09-04 17:48:37 -07:00
Eva H
87b9f9e95a
app: add Ollama to ChatGPT Desktop (#18236) 2026-09-04 14:04:48 -07:00
Marcel Petrick
e37a00a8fa
fix(docs): correct typos found during code review (#17579)
* fix(docs): correct typos found during code review

Non-functional changes only:
- Fixed minor spelling mistakes in comments
- Corrected typos in user-facing strings
- No variables, logic, or functional code was modified.

Signed-off-by: Marcel Petrick <mail@marcelpetrick.it>

* fix additional typos and shell-unsafe example in docs

---------

Co-authored-by: Patrick Devine <patrick@ollama.com>
2026-08-31 08:59:55 -07:00
Daniel Hiltgen
91cf995996
launch: respect OLLAMA_HOST when configuring Pi (#18039)
Pi's Edit() only set baseUrl when creating a new ollama provider entry.
On subsequent launches it preserved whatever baseUrl was already in
~/.pi/agent/models.json, so switching OLLAMA_HOST to a remote server had
no effect — Pi would still connect to localhost.

Edit() now ensures baseUrl reflects the current OLLAMA_HOST. Models()
returns nil when the stored baseUrl no longer matches, so the launcher
only calls Edit() when the host has actually drifted. User-customized api
and apiKey fields are still preserved.
2026-08-26 13:24:05 -07:00
Eva H
f6c59d8703
app: add Claude Desktop model mappings (#17979) 2026-08-24 22:43:47 -04:00
Parth Sareen
82ad9fa38b
app: add Claude Desktop Auto mode setting (#17975) 2026-08-24 18:20:59 -07:00
Devon Rifkin
add1f92bdd
launch: disable claude code token countdown to preserve KV cache (#17918)
Claude Code adds a "tokens left" system message after every tool
result. Since ollama moves system messages to the front of the prompt,
this breaks the KV cache on every request.
2026-08-21 17:44:44 -07:00
Parth Sareen
2d9622a4d4
app: claude model management (#17915) 2026-08-21 15:04:58 -07:00
Eva H
30019c87c4
app: add Connect your apps experience (#17900) 2026-08-21 12:56:51 -07:00
Parth Sareen
8f912415e8
launch: fall back to npx for DeepSeek Harness (#17758) 2026-08-20 14:04:44 -07:00
Parth Sareen
30546d1fd4
app: add claude desktop app (#17899) 2026-08-20 14:03:43 -07:00
Parth Sareen
39df91c982
launch: add DeepSeek Harness integration (#17733) 2026-08-13 15:19:02 -07:00
Daniel Hiltgen
01d04d50f8
launch: add Muse Code integration (#17594)
* launch: add Muse Code integration

Add `ollama launch muse` for Meta's Muse Code CLI.

Muse only takes a model catalog from settings.json (normally it fetches one from its provider and refuses to start otherwise), and that file's endpoint_transport is a global provider switch. So the integration writes a settings file under its own config root (~/.ollama/launch/muse-config via XDG_CONFIG_HOME), leaving a Meta-backed muse install untouched, and re-seeds it from muse's own persisted copy on later runs.

The launched model is preloaded so its catalog row carries the context length the server actually allocated, not the trained maximum; the loaded-context helpers move from cmd/agent_tui.go into cmd/launch for reuse.

Muse sends reasoning efforts outside Ollama's scale (minimal, xhigh, ultra), which were hard 400s; clamp them to the nearest tier in one helper shared by the chat and responses converters.

The registry entry stays Hidden (alias "muse-code"), like kimi and vscode.

* review comments

* skip muse test on windows (unsupported platform)
2026-08-13 13:10:29 -07:00
Parth Sareen
e8f7c93a0b
launch: update Hermes integration (#17202) 2026-07-20 11:28:01 -07:00
Eva H
03d61e1925
launch: keep Claude Code channels available (#17210) 2026-07-16 13:08:50 -04:00
Parth Sareen
fdcf9efafd
fix launch model picker recovery (#17170) 2026-07-15 11:31:22 -07:00
Parth Sareen
f1a0ffd621
launch: rename Codex App integration to ChatGPT (#17161) 2026-07-13 14:34:17 -07:00
Parth Sareen
82f905cd9c
cmd: agent UI (#17017) 2026-07-09 17:27:31 -07:00
Parth Sareen
cb3d98ccb2
launch: warn before launching old agent models (#17063) 2026-07-09 16:55:10 -07:00
Parth Sareen
87b64213b4
launch: disable claude code telemetry by default (#17061) 2026-07-06 15:24:11 -07:00