Commit graph

260 commits

Author SHA1 Message Date
Aiden Cline
fffe20cbe5 add provider whitelist 2025-11-21 01:24:44 -06:00
geril07
c0d9f21c0f
feat: whitelist/blacklist config options for provider (#3416)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-21 01:01:30 -06:00
Dax
23ea8ba1ce
Tui onboarding (#4569)
Co-authored-by: GitHub Action <action@github.com>
2025-11-21 00:21:06 -05:00
Aiden Cline
cf934357c9 fix: make use openrouter ai sdk package to fix interlevened thinking models 2025-11-20 16:32:44 -06:00
Aiden Cline
97893bd7e6 tweak: make /export go to cwd 2025-11-19 22:45:40 -06:00
Aiden Cline
51bba6e634 tweak: default to disabling fetch timeout in provider options 2025-11-19 16:20:29 -06:00
Aiden Cline
9d068c20bb fix: openrouter ai sdk package support 2025-11-19 14:22:51 -06:00
Tommy D. Rossi
9de1242d9b
fix: show reasoning summaries for gemini models (#4491)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 11:25:18 -06:00
Aiden Cline
a9981441ae tweak: use temperature 1 for gemini 3 pro 2025-11-18 11:49:39 -06:00
Dax Raad
7c0cc94023 rework default model 2025-11-18 12:01:41 -05:00
Albert O'Shea
5e13527416
feat: nix support for the nix folks (#3924)
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2025-11-18 00:46:49 -06:00
Dax Raad
bc232045a1 respect server suggestion for default model 2025-11-17 20:53:48 -05:00
Youssef Achy
58cc5cdf2a
add support for azure cognitive services provider (#4397) 2025-11-17 00:01:45 -06:00
Aiden Cline
25678fa504 fix: vercel gateway options 2025-11-16 18:39:31 -06:00
Aiden Cline
cf266f6162 fix: promptCacheKey set unnecessarily 2025-11-16 14:32:57 -06:00
xiaojie.zj
0e4703b227
add: add zenmux doc and header (#3597)
Co-authored-by: xiaojie.zj <xiaojie.zj@antgroup.com>
2025-11-15 21:37:30 -06:00
Frank
f5230d1f02 fix: incorrect sonnet price calculation 2025-11-14 18:46:43 -05:00
GitHub Action
078111bd96 chore: format code 2025-11-14 22:44:36 +00:00
sredfern
736f8882f5
fix(provider): support local file paths for custom providers (#4323) 2025-11-14 16:43:59 -06:00
Aiden Cline
b939470302 fix: add azure exclusion 2025-11-14 11:54:00 -06:00
Aiden Cline
ef4b2baedc set verbosity to low for gpt-5.1 (match codex) 2025-11-14 11:52:29 -06:00
Shantur Rathore
986c60353e
set promptCacheKey for openai compatible providers (#4203)
Co-authored-by: GitHub Action <action@github.com>
2025-11-14 11:41:01 -06:00
Frank
1d8330331c zen: use gpt-5-nano as small model 2025-11-14 00:59:00 -05:00
Aiden Cline
0c51feb9c2
fix: max tokens when using models like opus with providers other than anthropic (#4307) 2025-11-13 16:39:09 -06:00
Aiden Cline
8addaa7e08 fix: custom model name merging 2025-11-12 13:55:13 -06:00
Aiden Cline
c5e096c76a
fix: costs being 0 when using custom model id overrides (#4219) 2025-11-11 15:58:14 -06:00
OpeOginni
bba72c82ae
Fix/google vertex configs (#4169)
Co-authored-by: GitHub Action <action@github.com>
2025-11-10 13:25:03 -06:00
Dax Raad
4d20e1c3c6 Merge remote-tracking branch 'origin/dev' into dev 2025-11-08 20:21:02 -05:00
Dax Raad
4bb7ea9127 improve startup speed 2025-11-08 20:18:36 -05:00
GitHub Action
34ff87d504 chore: format code 2025-11-08 01:59:02 +00:00
Nicolai van der Smagt
9e04ff013c fix: resolve Mistral API compatibility issues (#2440)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-06 20:05:59 -05:00
Dax Raad
25f31f3096 codex tweaks 2025-11-06 19:14:01 -05:00
Nicolai van der Smagt
a2ab019317
fix: resolve Mistral API compatibility issues (#2440)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-06 16:53:02 -06:00
Dax Raad
1ea3a8eb9b big format 2025-11-06 13:03:12 -05:00
Aiden Cline
af7b9e77d1 fix: eu-west-2 aws bedrock issue 2025-11-05 10:14:08 -06:00
Ola
fe94bb8e50
feat(provider): add GitHub Enterprise support for Copilot (#2522)
Co-authored-by: Jon-Mikkel Korsvik <48263282+jkorsvik@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 15:36:12 -06:00
Aiden Cline
46d675b980 tweak: filter out deprecated models 2025-10-31 10:48:51 -05:00
Filip
51e4c9fc4c
add optional headers field to model config (#3546) 2025-10-30 23:35:26 -05:00
Dax Raad
d8249f32a8 do not set temperature for claude models 2025-10-28 01:14:25 -04:00
Aurelien Ribon
a606e1d2ec
fix: dont set reasoning effort to medium for gpt-5-pro (#3474) 2025-10-27 10:50:57 -05:00
Jérôme Benoit
0eb899a950
chore: cleanup versioned zod imports (#3460)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-26 14:50:41 -05:00
Aiden Cline
c70e393c81 Remove claude-haiku-4.5 from default priority for GitHub Copilot session title generation 2025-10-26 01:21:34 -05:00
Paulo Edgar Castro
ae62bc8b1f
fix: timeout param that allows user to disable provider timeout (#3443) 2025-10-25 12:08:27 -05:00
Aiden Cline
5fec5ff424 fix: bedrock reasoning 2025-10-24 17:35:08 -05:00
Dax Raad
56528493dc codex does not have reasoning effort set 2025-10-24 00:29:34 -04:00
theVinchi
a7b43d82ab
add Amazon Nova models to us-* prefix requirement list (#3357) 2025-10-22 11:41:38 -05:00
Aiden Cline
9005fd31ed tweak 2025-10-22 11:29:10 -05:00
Aiden Cline
d2bded23c3 tweak 2025-10-22 11:28:06 -05:00
Aiden Cline
c0cbc37f85 tweak: model priority 2025-10-22 11:12:32 -05:00
Aiden Cline
9df61055e2 change default title model 2025-10-22 10:41:08 -05:00
Aiden Cline
ca0f3902b7
fix: provider option transforms (#3331) 2025-10-21 11:08:21 -05:00
Matt Gillard
ddb2e6957c
added AU inference for bedrock haiku 4.5 (#3206)
Co-authored-by: Matt Gillard <matt-github@gillard.biz>
2025-10-16 23:48:41 -05:00
Aiden Cline
b24f4e3d2c
fix: timeout option (#3229) 2025-10-16 17:47:41 -05:00
seridescent
536934548a
fix: use ai-sdk openai chat language model instead of completion language model (#3204) 2025-10-16 00:59:49 -05:00
Dax Raad
ab8471a7ff core: filter out alpha status models from provider list 2025-10-15 20:12:37 -04:00
Matt Gillard
e29d1d339c
updated bedrock provider for the new Australian sonnet 4.5 cross region inference (#3050)
Co-authored-by: Matt Gillard <matt-github@gillard.biz>
2025-10-15 11:09:22 -05:00
Dax Raad
b8249cde4b core: improve dependency management and error handling for more reliable builds 2025-10-14 01:33:25 -04:00
Aiden Cline
682d30bd12
fix: custom model (#3156) 2025-10-13 19:58:19 -05:00
Aiden Cline
59765e0157
fix: typecheck (#3149) 2025-10-13 14:51:12 -05:00
AB
d0519be0d0
fix: add useCompletionUrls option to fix certain azure setups (#2528)
Co-authored-by: andreas.blass <andreas.blass@outlook.com>
Co-authored-by: GitHub Action <action@github.com>
2025-10-13 14:16:21 -05:00
OpeOginni
36cf9b9922
fix: add timeout to fetch models.dev refresh request (#3059) 2025-10-12 00:20:22 -05:00
Aiden Cline
225adc46ba
feat: allow read tool to handle images (#3052) 2025-10-09 09:05:11 -05:00
Aiden Cline
71a7e8ef36
fix: max output tokens when using large thinking budget (#2976) 2025-10-04 23:38:41 -05:00
Yuku Kotani
e7b6ffb314
feat: Vertex AI support; add google-vertex and google-vertex-anthropic providers (#2347) 2025-10-04 01:10:38 -04:00
Dax Raad
bd0ba5ab88 turn on codex medium reasoning again 2025-10-03 06:46:07 -04:00
Dax Raad
bd69c5aca8 codex should not have reasoning effort 2025-10-01 05:06:37 -04:00
Aiden Cline
89167ae387
respect model id in opencode.json (#2833) 2025-09-27 17:09:21 -05:00
Dax Raad
f5c7a94abe turn reasoning summaries back on by default for zen 2025-09-26 01:37:44 -04:00
Dax Raad
7ec3900208 core: enable reasoning.encrypted_content and reasoningSummary for opencode provider\ntui: adjust editorY position calculation 2025-09-26 01:27:53 -04:00
Aiden Cline
d47feb9969
tweak: include usage by default for openai compatible providers (#2788) 2025-09-25 21:06:58 -05:00
Dax Raad
71b43fd02e fix codex errors 2025-09-23 16:56:40 -04:00
Dax Raad
079095d7a9 core: filter models without keys in opencode provider 2025-09-21 04:43:32 -04:00
Dax Raad
d4c01f858b disable thinking for opencode zen and gpt-5 temporarily 2025-09-16 13:49:37 -04:00
Dax Raad
2d5bd26a59 feat: enhance provider model mapping and reasoning capabilities
- Add npm package tracking to provider model mapping
- Implement special handling for opencode provider with reasoning
- Update provider options mapping to use npm package names
2025-09-16 03:10:17 -04:00
Dax
c1b4e1f19d
Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Dax Raad
f5b3992479 properly support model level npm definition 2025-09-11 16:22:44 -04:00
Frank
a3513244f1 wip: zen 2025-09-09 15:47:28 -04:00
Frank
02e8242c3b Remove debug logging 2025-09-09 03:35:09 -04:00
Frank
0f263bfefe Hide experimental models 2025-09-09 03:16:44 -04:00
Douglas Dennis
d8fd7b155f
fix: aws bedrock add check for govcloud (#2495) 2025-09-08 11:54:06 -05:00
Ytzhak
4654fb88de
fix: max output tokens when setting budget thinking tokens (#2056)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-07 13:15:53 -05:00
Aiden Cline
dc99005e65
fix: default to last used model (#2443) 2025-09-05 17:25:25 -05:00
Dax Raad
4c261ab1db switch gpt-5 to default to codex prompt + high reasoning 2025-09-01 21:46:03 -04:00
Dax
f993541e0b
Refactor to support multiple instances inside single opencode process (#2360)
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk

1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Beshoy Girgis
e4cc05a975
feat: Allow provider timeout override (#1982) 2025-08-31 14:06:02 -04:00
Dax
133fe41cd5
slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
Dax Raad
aa10f8a7f6 sonic model 2025-08-20 01:02:41 -04:00
Aiden Cline
796245d146
blacklist gpt-5-chat-latest (#2048) 2025-08-18 17:50:38 -04:00
Dax Raad
a433766a31 allow plugins to create custom auth providers 2025-08-14 16:25:08 -04:00
Aiden Cline
b5d61b77f7
fix: reasoning not supported (#1882) 2025-08-13 06:26:07 -05:00
Dax Raad
5785ded6e2 add openai prompt cache key 2025-08-12 17:37:15 -04:00
Dax Raad
5f34dcc792 azure reasoning effort 2025-08-11 23:04:32 -04:00
Dax Raad
dac1506680 update anthropic prompt and variables 2025-08-11 21:01:33 -04:00
Dax Raad
0ce7d92a8b ignore: fix share page 2025-08-11 16:12:26 -04:00
Dax Raad
279edb6f24 fix azure gpt config 2025-08-11 10:56:16 -04:00
adamdotdevin
b8d2aebf09
feat: thinking blocks rendered in tui and share page 2025-08-10 19:25:03 -05:00
Dax Raad
d3ff66e911 use minimal reasoning effort for gpt-5 2025-08-09 15:38:48 -04:00
Dax Raad
53630ebdce gpt-5 lower verbosity 2025-08-08 20:42:22 -04:00
Dax Raad
4f164c53d2 temporary fix for max output token 2025-08-07 22:54:59 -04:00
Dax Raad
ea4e1913c0 increase models.dev polling interval to hourly 2025-08-03 14:58:35 -04:00