Aiden Cline
f7dcfc2680
feat: drive reasoning variants from models.dev reasoning_options
...
Parse the curated reasoning_options field from models.dev api.json and use
its effort values to generate reasoning variants instead of the hardcoded
per-package tables, in both the v1 provider catalog and the v2 catalog plugin.
- core: ModelsDev.ReasoningOption discriminated union (toggle | effort |
budget_tokens); effort values stay open strings and unknown option types
are tolerated since api.json is cast, not decoded
- core: ReasoningVariants shared per-package effort encoder used by v1
ProviderTransform.variants and the v2 ModelsDevPlugin
- core: v2 catalog generates effort variants from reasoning_options;
curated experimental modes win id collisions; anthropic profile gains
the effort semantic
- llm: anthropic protocol supports adaptive thinking, lowers effort to
output_config.effort, and sends the effort-2025-11-24 beta header
- opencode: resolved Provider.Model carries capabilities.reasoningOptions
(unknown types and null effort values dropped at the mapping boundary);
config models accept reasoning_options; models without usable effort
data fall back to the hardcoded tables unchanged
Catalog-wide audit vs live api.json: 2975 models byte-identical, 38 diffs,
all data correcting stale hardcoded effort lists.
2026-06-09 17:21:11 -05:00
opencode-agent[bot]
cc52dc396c
chore: generate
2026-06-09 18:30:51 +00:00
Dax
132ef57272
refactor(core): simplify location filesystem ( #31545 )
2026-06-09 14:28:45 -04:00
Kit Langton
54f4974546
feat(http-recorder): prepare public beta release ( #31018 )
2026-06-06 03:01:26 +00:00
Kit Langton
83dca45dd5
fix(core): make V2 reads media-aware and binary-safe ( #31038 )
2026-06-05 19:48:34 -04:00
Kit Langton
820c984d47
fix(core): recover v2 context overflow ( #31005 )
2026-06-05 16:05:51 -04:00
Kit Langton
0bdd9aa494
fix(core): preserve model request semantics ( #30990 )
2026-06-05 14:23:31 -04:00
opencode-agent[bot]
8c0edca175
chore: generate
2026-06-05 03:28:04 +00:00
Kit Langton
1af8dafd3e
feat(core): persist v2 session context epochs ( #30789 )
2026-06-04 23:26:43 -04:00
Kit Langton
f011d77128
fix(llm): normalize OpenAI function tool schemas
2026-06-04 19:56:31 -04:00
opencode-agent[bot]
b0a929440b
chore: generate
2026-06-04 03:03:39 +00:00
Kit Langton
76ee87ead8
feat(core): add embedded v2 session runtime and tool foundation ( #30632 )
2026-06-03 23:02:17 -04:00
opencode-agent[bot]
728eae9c25
chore: generate
2026-05-24 01:08:00 +00:00
Aiden Cline
eb84f461b8
fix(llm): split OpenAI reasoning summary blocks ( #29000 )
2026-05-23 20:06:45 -05:00
opencode-agent[bot]
4f6eaf859b
chore: generate
2026-05-22 16:39:58 +00:00
Kit Langton
d0cb58782f
fix(llm): surface code, type, and nested fields on provider stream errors ( #28757 )
2026-05-22 12:37:55 -04:00
opencode-agent[bot]
8a55920531
chore: generate
2026-05-22 16:25:15 +00:00
Kit Langton
9db90a0b76
fix(llm): emit structured image blocks for tool-result media in Anthropic Messages ( #28755 )
2026-05-22 12:23:41 -04:00
Kit Langton
700d012025
fix(llm): emit structured input_image content for tool-result media in OpenAI Responses ( #28754 )
2026-05-22 12:23:23 -04:00
Kit Langton
e92c4fb460
chore: drop dead imports across opencode/core/llm ( #28720 )
2026-05-21 17:03:12 -04:00
Kit Langton
61390dbb49
fix(llm): preserve native continuation metadata ( #28678 )
2026-05-21 11:57:45 -04:00
Kit Langton
16fb6dac8d
fix(llm): restore OpenAI reasoning streams ( #28552 )
2026-05-20 21:02:59 -04:00
Kit Langton
41f6daf96a
Refactor LLM route-first provider API ( #28523 )
2026-05-20 20:15:52 -04:00
Kit Langton
ba5c8d3822
fix(llm): preserve tool error defects ( #27403 )
2026-05-13 20:43:32 -04:00
Kit Langton
dd14413a64
Preserve native LLM tool context ( #27116 )
2026-05-12 16:16:58 -04:00
Kit Langton
8030a6c187
Emit LLM stream lifecycle events ( #26971 )
2026-05-11 21:31:48 -04:00
opencode-agent[bot]
25b12ed754
chore: generate
2026-05-11 17:06:57 +00:00
Kit Langton
023e1c711e
refactor(llm): colocate per-type factories on their namespaces ( #26799 )
2026-05-11 13:05:41 -04:00
Kit Langton
52f7ba7d4d
fix(llm): drop removed dispatch option from recorded cache tests ( #26900 )
2026-05-11 11:48:30 -04:00
Kit Langton
9b369ee815
chore(llm): make cache: 'auto' the default ( #26798 )
2026-05-10 22:46:01 -04:00
opencode-agent[bot]
02cb7e7b71
chore: generate
2026-05-11 02:11:07 +00:00
Kit Langton
942630eb4a
feat(llm): cache-policy auto-placement ( #26786 )
2026-05-10 22:09:55 -04:00
Kit Langton
2703eff2e2
refactor(llm): normalize Usage as inclusive total + non-overlapping breakdown ( #26735 )
2026-05-10 21:52:50 -04:00
opencode-agent[bot]
5801cce1b5
chore: generate
2026-05-11 01:18:39 +00:00
Kit Langton
77e6c0d329
feat(llm): cache hint TTL, breakpoint cap, and tool placement ( #26779 )
2026-05-10 21:17:38 -04:00
Kit Langton
2bd3d9a696
refactor(http-recorder): hide cassette format behind Cassette seam ( #26725 )
2026-05-10 12:29:55 -04:00
Kit Langton
ce061bf661
Add explicit LLM stream lifecycle events ( #26722 )
2026-05-10 12:19:13 -04:00
Kit Langton
4fb417d3b5
feat(http-recorder): default mode to "auto" ( #26719 )
2026-05-10 16:05:11 +00:00
Kit Langton
d28b5ad2f4
refactor(http-recorder): Redactor + Recorder seams, README ( #26636 )
2026-05-10 10:49:22 -04:00
opencode-agent[bot]
ba8c920639
chore: generate
2026-05-08 20:57:36 +00:00
Kit Langton
5bb7b23440
Add native LLM core foundation ( #24712 )
2026-05-08 16:56:20 -04:00