Commit Graph

267 Commits

Author SHA1 Message Date
Frank e3eac0f1fe Revert "add client header"
This reverts commit 5eea2ac42b.
2025-12-18 11:21:22 -05:00
Frank 5eea2ac42b add client header 2025-12-18 10:33:25 -05:00
Dax Raad 91fa6a804d core: fix message caching for Anthropic models to improve response consistency 2025-12-15 14:33:14 -05:00
René e9e1f3302e Provider fix, anthropic Errorhandling if empty image file is read (#5521) 2025-12-14 23:56:47 -06:00
Adam 798a172a4b wip(desktop): progress 2025-12-14 21:38:58 -06:00
Dax Raad 712c8e9c40 ci: fix test failures in CI by pre-populating models cache
Tests were failing in CI because the models.json cache file doesn't exist
and the data() macro fallback only works at build time, not runtime.
The preload now pre-fetches models.json and disables the background
refresh to prevent race conditions during test execution.
2025-12-14 21:23:45 -05:00
Dax c9c6b26a2e LLM cleanup (#5462)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-14 21:11:30 -05:00
Aiden Cline e3bd8cd9ed tweak: fallback to provider default for temperature 2025-12-14 11:57:12 -06:00
Aiden Cline 627534a90b add topK function to transform, add temp defaults for glm and minimax 2025-12-13 23:27:11 -06:00
Aiden Cline c753868778 chore: reduce duplication of field in transform 2025-12-13 18:07:22 -06:00
Aiden Cline 3801c02db8 tweak: 5.1 -> 5. in transform 2025-12-12 15:17:11 -06:00
Aiden Cline 0474f3bba4 tweak: 5.1 -> 5. reasoning effort match 2025-12-12 13:21:57 -06:00
Aiden Cline ce4aad9b5c tweak: setting chat_template_args in transform 2025-12-11 16:22:10 -06:00
Aiden Cline 79d682c1f9 ignore: tmp transform exclusion 2025-12-10 21:18:19 -06:00
Aiden Cline 96397dc1ef tweak: correct thinkingLevel 2025-12-10 21:13:10 -06:00
Seb Duerr 5d98028182 Add Cerebras integration header with opencode identifier (#5354) 2025-12-10 19:36:58 -06:00
Dax Raad d1f87dd45e add models.dev family 2025-12-10 14:30:28 -05:00
Aiden Cline d9f443d333 more interleaved thinking fixes (#5334) 2025-12-10 13:29:26 -06:00
Aiden Cline 1cb69581b4 tweak: set gemini thinkingLevel to high by default 2025-12-10 13:09:27 -06:00
Tom Aylott 15b0da75e1 fix: upgrade OpenRouter sdk pkg (#5302)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-10 13:02:26 -06:00
Aiden Cline b9ad1b09cb better interleaved thinking support (#5298) 2025-12-09 16:32:12 -06:00
Aiden Cline 14183f06c6 core: refactor providerOptions function to accept Provider.Model for cleaner API 2025-12-09 01:25:36 -06:00
Jérôme Benoit 8a00917ad5 fix: SAP AI Core Vercel AI SDK v2 support (#5180)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
2025-12-08 11:27:47 -06:00
Aiden Cline d38bb05c69 pdf support in read tool (#5222)
Co-authored-by: ammi1378 <ammi1378@users.noreply.github.com>
2025-12-07 21:54:00 -06:00
Aiden Cline a3c2278164 fix: provider url merging logic 2025-12-07 13:01:05 -06:00
Dax Raad e224c55556 tui: prevent deprecated models from appearing in model picker 2025-12-06 18:18:45 -05:00
Julian Visser cccafbba58 fix: #5064 ProviderInitError github-copilot-enterprise (#5123) 2025-12-05 09:53:32 -06:00
Jérôme Benoit 2cb12b8db2 fix: add getModel to SAP AI Core provider for correct SDK initialization (#5086)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
2025-12-04 22:43:22 -06:00
Dax Raad 3f1772ee9a core: ensure model npm package falls back to dev models config when not explicitly defined 2025-12-04 15:39:52 -05:00
Jérôme Benoit c2e206f03a feat: Add SAP AI Core provider support (#5023)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
2025-12-04 14:07:23 -06:00
Dax Raad 0466e6f36e fix anthropic api key error 2025-12-03 23:18:24 -05:00
Jakub Matjanowski 73c6b95c7d feat: Enhance DeepSeek reasoning content handling (#4975)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-03 21:31:36 -06:00
Aiden Cline 8d83815413 fix: dax typo 2025-12-03 20:39:11 -06:00
Dax 85d8825cb1 core: refactor provider and model system (#5033)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2025-12-03 21:09:03 -05:00
Dax Raad 5c0dccdc6c core: add provider test coverage for upcoming refactor
Add comprehensive test suite for Provider module to ensure safe
refactoring of provider internals. Tests cover:
- Provider loading from env vars and config
- Provider filtering (disabled_providers, enabled_providers)
- Model whitelist/blacklist
- Model aliasing and custom providers
- getModel, getProvider, closest, defaultModel functions

Also adds Env module for instance-scoped environment variable access,
enabling isolated test environments without global state pollution.
2025-12-03 18:30:42 -05:00
Aiden Cline 25a4a855e3 core: fix GitHub Copilot Enterprise authentication failing with sdk.chat undefined error 2025-12-02 23:37:10 -06:00
Aiden Cline f5cdf14820 fix: sanitize more invalid schema cases for gemini models 2025-12-01 16:19:10 -06:00
Aiden Cline c50a1b83f3 fix: copilot responses bug w/ gpt 5 mini 2025-12-01 14:36:49 -06:00
Aiden Cline 0399ec2808 fix case where opencode wasn't retrying 2025-12-01 13:02:33 -06:00
Aiden Cline 2788fac2ac tweak: better err msgs 2025-12-01 01:33:32 -06:00
Aiden Cline b3fa3d4475 get codex working in copilot (#4914)
Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2025-11-29 21:47:29 -06:00
Dax Raad e3d6847112 core: add explore agent for fast codebase navigation and improve task UI display 2025-11-28 21:13:07 -05:00
Dmitry Halushka 0e7c91e29e fix: transform MCP tool schemas for Google/Gemini compatibility (#4538)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Github Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-11-26 00:58:20 -06:00
Aiden Cline 5ddaa97e63 fix: global prefix handling w/ aws bedrock (#4757) 2025-11-26 00:21:59 +00:00
Shantur Rathore e80e5b1974 config: add setCacheKey in provider options (#4738)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-11-25 17:53:56 -06:00
Aiden Cline 90d38a69dc Revert "config: add setCacheKey in provider options (#4654)"
This reverts commit 3617f90c73.
2025-11-24 22:30:56 -06:00
Shantur Rathore 3617f90c73 config: add setCacheKey in provider options (#4654)
Co-authored-by: GitHub Action <action@github.com>
2025-11-24 22:20:52 -06:00
Aiden Cline dfddac1895 remove hardcoded openrouter provider 2025-11-24 16:11:12 -06:00
Aiden Cline 51a8355378 adjust bundled provider logic, fix tree shaking stuff (#4708) 2025-11-24 15:48:54 -06:00
Adam 8faaea9c01 wip(share): more styling 2025-11-24 15:10:40 -06:00