127 Commits
Author SHA1 Message Date
Aiden Cline e337b7da60 feat(v2)!: make tools.updates a list of tool changes (#13856)
* feat(v2)!: make tools.updates a list of tool changes

* chore: keep comment-only tools.updates wording out of this change

* fix(openrouter): keep tool removals on Claude Messages

* fix(providers): set tools.updates from live checks on Vercel, OpenRouter and Bedrock

* fix(openrouter): set tools.updates on GPT aliases and Pro models from live checks

* chore: move new tools.updates values to a follow-up PR

* docs(providers): record the live evidence for tools.updates add, remove and replace

* fix: match the Copilot sync test and Vercel comments to the data

* fix(providers): add tools.updates where live checks show OpenAI tool changes work (#13867)
2026-11-16 23:54:42 -06:00
Aiden Cline 968c6f2d83 feat(validate): reject output limits larger than the context (#13612)
* feat(validate): reject output or input limits larger than the context

* fix: drop output overrides that now match the lab

* fix: only check output against context for models that output text
2026-11-14 12:09:34 -06:00
Aiden Cline cbef3d25f4 feat(v2): mark novita-ai, huggingface and ollama-cloud as max_tokens hosts (#11429)
* feat(v2): let chat-completions tables set max_tokens_field

* feat(v2): mark novita-ai, huggingface and ollama-cloud as max_tokens hosts
2026-10-24 23:11:04 -05:00
Aiden Cline 2980c4a19e fix(web): reject unsafe SVG logos (#11405) 2026-10-24 21:08:14 -05:00
Aiden Cline 944355a827 feat(validate): reject explicit false mid-conversation flags (#11307) 2026-10-23 22:11:32 -05:00
Aiden Cline 8e82cf9f1a chore(v2): migrate lab.toml files to schema 2 (#11083) 2026-10-22 21:17:55 -05:00
Aiden Cline 81b1b7371e fix(scripts): sync Ollama Cloud decision models as v2-only (#11053)
* fix(scripts): skip non-chat models in the Ollama Cloud generator

* fix(scripts): sync Ollama Cloud decision models as v2-only

* fix(scripts): only sync hand-authored Ollama decision files and skip other non-chat models
2026-10-22 12:17:54 -05:00
Aiden Cline 042723df71 chore: stop reading v1 model files (#10991)
* chore: stop reading v1 model files

* chore(sync): drop the migrate-v2 reference in a comment
2026-10-22 11:08:29 -05:00
Aiden Cline 5e07b15cee chore(scripts): write v2 files from the Databricks and Ollama Cloud generators (#10960)
* chore(scripts): write v2 files from the Databricks and Ollama Cloud generators

* fix(scripts): keep Ollama Cloud generator idempotent and avoid empty reasoning controls
2026-10-21 22:31:45 -05:00
Aiden Cline 862aa0ba9f chore(validate): reject model files that aren't schema 2 (#10959) 2026-10-21 21:26:00 -05:00
Aiden Cline 686caacb4f feat(v2): publish every API a model lists, with its OpenCode package (#10895)
* feat(v2): publish every API a model lists, with its OpenCode package

* feat(v2): let an API table say "none" for a package
2026-10-21 16:02:55 -05:00
Aiden Cline bc1eb99298 fix(v2): stop migrate-v2 from silently dropping comments (#10807) 2026-10-21 11:15:36 -05:00
Aiden Cline be45ccf2d8 feat(v2): migrate Helicone provider files to schema 2 (#10780)
* fix(helicone): set attachment on models whose registry input includes images

* chore(v2): migrate Helicone provider files to schema 2

* feat(helicone): link standalone files to their labs and leave model facts on the labs

* feat(helicone): backfill reasoning controls and Claude 1h cache-write prices

* fix(helicone): drop float noise from registry prices

* fix(helicone): make the registry generator patch v2 files instead of rewriting them

* fix(helicone): inherit tools on GPT-5 Pro and flag new generator files for a hand pass

* fix(helicone): mark o1-mini as reasoning and drop derived budget caps on the backfilled Claude files

* fix(labs): add the Grok family to grok-4-fast-reasoning and the Hermes family to hermes-2-pro-llama-3-8b

* fix(helicone): keep the Grok family on grok-4-fast-non-reasoning and grok-code-fast-1 as provider overrides
2026-10-21 11:12:36 -05:00
Aiden Cline e31e476c71 feat(v2): migrate the remaining small provider files to schema 2 (batch 14) (#10810)
* feat(v2): migrate 45 small providers' files to schema 2 (mechanical)

Ran packages/core/script/migrate-v2.ts on each provider. Comments below the
first key were moved into the header first. v1 output is byte-identical.
Left in v1 for the backfill: abliteration-ai abliterated-model(-large)
(reasoning option order), lucidquery lucidnova-rf1-100b and nexus-coder,
zenifra qwen3.6-35b-a3b (attachment disagrees with text-only modalities).

* feat(v2): link small-provider files to their lab models

Standalone files whose model has a lab entry now use base_model and keep only
host overrides (atomic-chat, cloudferro-sherlock, drun, kuae-cloud-coding-plan,
lmstudio, mixlayer, wafer.ai, and the first-party upstage, sarvam, vispark and
nova files). Model facts left on base_model files come from the lab; unsourced
knowledge overrides stay with a header note. Generic image/video kinds take
the lab's MIME types.

* feat(v2): migrate the abliteration-ai, lucidquery and zenifra files the script refused

lucidquery lucidnova-rf1-100b and nexus-coder, and zenifra qwen3.6-35b-a3b,
had attachment = true with text-only input; attachment is now false, matching
the documented text-only API (lucidquery) and the text-only override
(zenifra). abliteration-ai's two toggle+effort files now list the toggle
first, which is v2's order.

* fix(v2): deprecate discontinued lilac models and wafer.ai models no longer listed

Lilac's API returns HTTP 410 "Lilac inference has been discontinued.".
wafer.ai's /v1/models no longer lists GLM-5.1, Kimi-K2.6, MiniMax-M3 or
glm5.2-fast.

* fix(v2): update wafer.ai, pareto, coralbricks and lucidquery prices from their catalogs

wafer.ai GLM-5.2 and pareto glm-5.3-flash follow their public /v1/models.
coralbricks deepseek-v4.1-flash-fast follows /v1/models (input 0.25, cache
read 0.005, cache write 0, output 393,216). lucidquery's AGI-01 prices are
EUR on its docs; converted at the ECB rate 1.1215 (2026-10-20).

* feat(v2): exact MIME input for nova-2-pro-v1 from the Nova 2 formats doc

* fix(v2): add Sarvam 105B pricing and deprecate Sarvam 30B

Prices from sarvam.ai/api-pricing in INR, converted at 94.995216 INR/USD
(2026-10-21). Sarvam's docs mark Sarvam 30B deprecated and /v1/models no
longer lists it.

* refactor(v2): drop limits and modalities identical to the lab on base_model files

* fix(v2): pass effort "default" through to v1 and refuse null efforts in migrate-v2

translate.ts turned v2 effort "default" into v1 null, which v1 uses for
"reasoning off". v2 "default" now stays the literal value, and migrate-v2
refuses v1 files with a null effort (write it as a toggle instead).

* fix(sarvam): reasoning off as a toggle, effort low|medium|high

reasoning_effort = null turns reasoning off on sarvam-105b and sarvam-30b; it
is a toggle, not an effort level. v1 reasoning_options change from
[null, low, medium, high] to [toggle, effort low|medium|high].

* feat(v2): migrate Groq qwen3.6-27b and qwen3.8-27b to schema 2

Their effort lists include Groq's literal "default", which now round-trips.
v1 output is unchanged.
2026-10-21 11:00:26 -05:00
Aiden Cline f7791aa80b feat(v2): migrate the remaining Vercel, Alibaba and Mistral files to schema 2 (#10768)
* fix(v2): make migrate-v2 list symlinked files whose target is still v1

* feat(v2): migrate the Morph files that Vercel symlinks to schema 2

* feat(v2): migrate Qwen3-ASR Flash and Voxtral Mini (latest) to schema 2 with per-second and per-minute audio prices
2026-10-21 10:55:15 -05:00
Aiden Cline bb3c0f3066 chore: add bun run v1:check to compare v1 output with origin/dev (#10566) 2026-10-19 23:15:30 -05:00
Aiden Cline e203c4cc75 feat(v2): migrate Vercel AI Gateway provider files to schema 2 (#10557)
* fix(v2): refuse to migrate provider files whose attachment disagrees with their modalities

* feat(v2): migrate Vercel AI Gateway provider files to schema 2 (mechanical)

* test(sync): Vercel base_model files keep exact MIME modalities and leave model facts to the lab

* fix(vercel): store mercury-2 cache read as 0.025 (what sync writes under v2's exact comparison)

* fix(vercel): base_model files inherit knowledge from the lab

o3-pro, gpt-3.5-turbo, glm-4.5 and glm-4.5v restated a knowledge cutoff that
disagrees with their lab files; the lab is the source of truth for model facts.

* fix(vercel): derive attachment from modalities on 14 models and migrate them to schema 2

Vercel's /v1/models lists text-only input for glm-5.1, mimo-v2.5-pro, qwen3.7-max
and minimax-m2.7(-highspeed) (attachment was true), and image input for
gemini-3-pro-image, gemini-2.5-flash-image, d1, muse-spark-1.1,
qwen3.8-2.4t-a95b, interfaze-beta, seed-1.6, seed-1.8 and mistral-medium-3.5
(attachment was false). v2 derives attachment from modalities.

* refactor(vercel): link 40 standalone files for lab-built models to their lab files

The files now use base_model and keep only Vercel deltas (display name,
description, limits, cost, reasoning controls, modalities where Vercel differs).
Model facts (family, release_date, last_updated, knowledge, open_weights)
inherit from the lab.

* feat(vercel): exact MIME modalities from the lab where Vercel narrows a model's inputs

* feat(vercel): exact MIME modalities from upstream and AI Gateway docs for the remaining generic entries

Each changed file cites its source in the leading comment. 7 keep a generic
image input because no official source lists formats (Callstack Apex, Elorian
Glimpse, Interfaze, Sakana Fugu x2, Inkling x2).

* feat(vercel): mid-conversation flags from live @ai-sdk/gateway probes

* fix(inference-net): Schematron V2 release date from Inference.net's launch post (2026-04-16)

The lab files carried OpenRouter's listing date (2026-09-12). Source:
https://inference.net/blog/schematron-v2 (published 2026-04-16).
2026-10-19 23:02:31 -05:00
Aiden Cline d9b9c1801d fix(v2): keep host structured_output on sync and write sampling flags in migrate-v2 (#10541) 2026-10-19 20:53:18 -05:00
Aiden Cline a5f177c78b feat(v2): shared base for remaining migrations (api entries, cost relaxations, mid-conversation flags) (#10497)
* feat(v2): tool_updates, per-model api entries, v2-only cost overrides, required lab sampling flags

* fix(v2): use existing tools.updates instead of a new tool_updates field; first api table is the v1 default
2026-10-19 18:12:16 -05:00
Aiden Cline cf8e10925e feat(v2): migrate Meta lab and provider files to schema 2 (#10398)
* feat(v2): migrate openai lab and provider files to schema 2

* feat(v2): backfill openai provider capabilities

* feat(sync): write v2 provider model files

* fix(sync): keep inherited reasoning and lab modalities when patching v2 files

* feat(v2): set type on non-chat OpenAI models; keep curated type in sync

* refactor(meta): move structured_output from lab files to hosts

* feat(v2): migrate meta lab models to schema 2

* feat(v2): migrate meta provider models and backfill capabilities

* docs: list meta as migrated to v2
2026-10-19 13:06:59 -05:00
Aiden Cline 3011461e8a feat(v2): migrate Anthropic lab and provider files to schema 2 (#10395)
* feat(v2): migrate anthropic lab models to schema 2

* feat(v2): list Claude image formats as MIME types

* feat(v2): migrate anthropic provider models and backfill capabilities
2026-10-19 02:27:46 -05:00
Victor Navarro 05585a4bdb fix(opencode): give each model its own inference endpoint (#9984)
* fix(opencode): give each model its protocol-specific inference endpoint

* fix(opencode): set api on every model

* chore(validate): require api on opencode models

* add api to new opencode models
2026-10-16 10:22:19 +02:00
Aiden Cline b24ad09df7 feat: experimental v2 api (#8969)
* feat: experimental v2 api

* feat: add v1 to v2 transform and expand model types

* fix: keep non-decision model types in default v1 filter

* chore: keep v2 generation out of render.tsx

* refactor: extract standalone generate-v2 parser

* refactor: organize generate-v2 top-down with small helpers

* refactor: inline tiny single-use helpers in generate-v2

* fix: preserve zod output type in parseWithCause

* feat: populate api base_url, path, sdk, and compatibility in generate-v2

* fix: map system-one api to @opencode/ai/providers/typesafe-ai

* refactor: replace nested outputModalities ternary with iife

* feat: skip azure-cognitive-services and google-vertex-anthropic in v2

* refactor: drop path from ApiEntryV2 and rename system-one to systemone

* chore: validate v2 catalog in bun validate

* feat: add URL validation on ApiEntryV2.base_url and duplicate provider check
2026-10-07 15:14:09 -05:00
Adam f20b3e503a chore(function): send hits to the r2 data lake (#8550)
* chore(function): send hits to the R2 data lake

The opencode S3 data lake is retired. Send the models.dev hit event to the
platform lake's event stream instead, using the source/type/timestamp/payload
envelope that the platform's models.hit table projects, and add a script that
backfills the hits recorded in the S3 lake.

The worker now needs the LakeEndpoint and LakeToken secrets in place of
LakeUrl and LakeSecret.

* fix(lake): verify and scale historical hit migration

* test(lake): type backfill and hit fixtures

* fix(lake): preserve required iceberg timestamps
2026-10-01 14:24:44 -05:00
Lee-Si-Yoonandrekram1-node 74867114aa feat(sync): replace Friendli generator with SyncProvider (#7006)
* feat(sync): replace Friendli generator with SyncProvider

* fix(friendli): tri-state reasoning, tool_call delta, MiniMax budget verification

* fix(friendli): delete removed/deprecated models, drop budget_tokens, align effort with lab

* fix(friendli): restore unbounded budget_tokens per review

* feat(sync): track selectively skipped models

* fix(friendli): fail closed on catalog gaps

---------

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2026-09-14 12:41:10 -05:00
opencode-agent[bot]andrekram1-node 2a90db7221 fix(sync): report missing Cloudflare reasoning options (#6198)
* fix(sync): send incomplete models to the issue fixer

* fix(sync): limit issue recovery to missing reasoning options

* refactor(sync): minimize the reasoning-options issue fix

---------

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2026-09-03 11:44:56 -05:00
59fa8dc141 Automate Cloudflare AI Gateway model sync (#5764)
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Co-authored-by: superhighfives <449385+superhighfives@users.noreply.github.com>
2026-08-29 15:48:01 -05:00
Charlie GleasonandClaude Opus 4.8 e48051cd90 feat(cloudflare-ai-gateway): derive models from live catalog + schema + docs (#4922)
* feat(cloudflare-ai-gateway): generate models from catalog + overrides

Replace the legacy 4-script bash pipeline with a single catalog-aware
reconciler. It sources canonical dotted model ids and pricing from
Cloudflare's ai/catalog/models (proxied) and ai/models/search (hosted @cf/*),
and isolates all human curation in a committed overrides.toml.

- add packages/core/script/generate-cloudflare-ai-gateway.ts (fetch with
  fixture fallback, catalog/manual cost derivation, tiered pricing, --check
  mode; hard-fails on an unmapped Text-Generation catalog id)
- add providers/cloudflare-ai-gateway/overrides.toml (67 model entries +
  33-id skip list) as the sole hand-authored curation layer
- wire cloudflare-ai-gateway:generate; rewrite the provider README
- regenerate all 67 model stubs via the shared formatToml serializer;
  resolved model JSON is unchanged (compare:migrations clean, validate passes)
- remove the legacy scripts/ pipeline and stale data/ JSON

Leading source-citation comments on hand-authored files are dropped by
regeneration for now; modeling them as a structured notes field is a
documented follow-up.

* feat(cloudflare-ai-gateway): derive models from live catalog + schema + docs

Replace overrides.toml with a 3-source reconciler: catalog for cost/limits,
per-model schema and Workers-AI docs for reasoning_options, curation.toml only
for base_model maps, live-tested structured_output, and native-provider
reasoning shapes. Inherit name/description from base_model.

* fix(cloudflare-ai-gateway): curate reasoning_options, interleaved, and output limits per lab/peer baselines

The generator was deriving reasoning_options straight from catalog/docs schema enums instead of
matching each host's real native controls, silently dropping interleaved fields and toggle wire
comments on every regen, and writing limit.output from a catalog field that's verified wrong
against lab/first-party for several models (gpt-5.5, claude-haiku-4.5, gpt-oss-20b, and more).

- curation.toml gains interleaved and note (leading wire-path comment) fields; both proxied and
  hosted loops now consult them
- proxied/hosted limit.output no longer derives from an unreliable field — curated only, so it
  correctly inherits from base_model when not host-specific
- restored the hand-verified reasoning_options/interleaved/output/wire-comments that existed
  before this rework for gpt-oss-20b/120b, gemma-4-26b-a4b-it, kimi-k2.6, nemotron-3-120b-a12b,
  glm-4.7-flash, glm-5.2, and backfilled limit.output for every other previously-verified @cf model
- fixed proxied deepseek-v4-pro, qwen3.7-plus, and grok-4.6 to match their lab/first-party
  reasoning controls instead of a generic schema-derived effort enum

Verified live against Cloudflare (bun run cloudflare-ai-gateway:generate --check passes, bun
validate passes).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* fix(cloudflare-ai-gateway): curate remaining reasoning_options against lab/peer baselines

Second pass on bot review feedback: several proxied and hosted models were still using
schema-derived L/M/H effort instead of matching their real native controls.

- alibaba/qwen3.5-397b-a17b, qwen3.7-max, qwen3.8-max: toggle + budget_tokens (qwen3.8-max
  also gets low|medium|xhigh effort + interleaved), matching first-party Alibaba shapes
- google/gemini-3.5-flash-lite, gemini-3.6-flash, gemini-3.7-flash: restored graded lab effort
  instead of a toggle-only/[] shape copied from merge-gateway without host-specific evidence
- moonshotai/kimi-k3 (proxied), workers-ai/@cf/deepseek-ai/deepseek-v4-flash-0731,
  workers-ai/@cf/qwen/qwen3.8-27b: corrected effort values to match lab/peer instead of a
  generic enum (deepseek-v4-flash-0731 matches its same-@cf-id cloudflare-workers-ai peer,
  which is host-specific evidence trumping the general lab set)
- workers-ai/@cf/moonshotai/kimi-k2.7-code, xai/grok-4.20-0309-reasoning: restored
  reasoning_options = [] (always-on, no caller control) per first-party lab files
- workers-ai/@cf/zai-org/glm-5.2: effort high|max only (no toggle) + interleaved, matching lab;
  glm-4.7-flash kept its existing toggle+effort shape but gained the wire note, since its
  cloudflare-workers-ai peer cites docs-verified evidence for that host-specific delta
- added missing toggle wire-path notes (claude-sonnet-5, gemini-2.5-flash/-lite budget models)

Left providers/cloudflare-ai-gateway/models/openai/gpt-5.6-sol.toml unchanged: its cheaper
non-tiered pricing is live and correct — Cloudflare's catalog carries an active "50% off
through Sept 18" promotional banner for this model, confirmed via direct API query.

bun run cloudflare-ai-gateway:generate --check and bun validate both pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* feat(cloudflare-ai-gateway): route anthropic/openai to native SDKs

Cloudflare fronts Anthropic and OpenAI with native passthrough routes (the
Messages and Responses APIs), not the gateway's generic openai-compatible
transform. Emit [provider] npm per model for those two families so consumers
route to the endpoint that serves them best instead of inheriting the provider
default (ai-gateway-provider). Workers AI and the compat-only third parties keep
the default.

Restores the @ai-sdk/anthropic signal the generator rewrite dropped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(cloudflare-ai-gateway): restore host capability, reasoning, and limit deltas

Curation could not author tool_call/attachment/modalities, so several Workers AI
@cf entries silently re-inherited lab capabilities the same @cf peer marks false.
Extend the curation schema + hosted generation to carry those host disables, and
restore them for the six affected models (matching cloudflare-workers-ai peers).

Align thinkingmachines/inkling reasoning_options with the lab toggle+effort shape
(with the required wire-path note), and curate its served output ceiling (65_536)
instead of inheriting the lab canon's 1M. Proxied limit now merges catalog context
with curated fields so context stays catalog-derived.

Regenerated live; gpt-5.5's flat catalog pricing (no cache/tier) confirmed as what
Cloudflare's catalog returns, not dropped data.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(cloudflare-ai-gateway): drop unsupported context cost tiers

The gateway entries don't support tiered pricing, so keep only the base/default-
context rate and drop the higher-context [[cost.tiers]] bands (google gemini-3.x
flash, xai grok-4.5/4.6). The lower band was already folded into the flat rate.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* refactor(cloudflare-ai-gateway): drop Workers AI @cf models

Workers AI (@cf/...) is a different pathway from the proxied third-party models -
hosted on Cloudflare, CF-token auth, per-model agreements - and already has its own
provider (cloudflare-workers-ai). Mirroring it here mixed two pathways in one
provider for no benefit, so drop the hosted @cf set and the generator's hosted path
(search API, cloudflare-docs fetch, hostedCost/hostedProp). The provider is now
proxied third-party models only.

Also skip thinkingmachines/inkling: it is BYOK-only on the gateway (not available
via unified billing), so it can't be invoked the way the other proxied models are.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(cloudflare-ai-gateway): drop grok-4.6 xhigh (rejected by CF route)

grok-4.6's reasoning_effort was curated as low|medium|high|xhigh from the first-party
xAI API, but the Cloudflare gateway route rejects xhigh (verified live: code 7003,
'expected one of low|medium|high'). Match what the CF route actually accepts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore(cloudflare-ai-gateway): skip Google Gemini models for now

Gemini's API rejects any request whose message list ends on an assistant turn
(verified live: gemini-3.7-flash returns code 7003, gemini-3.5-flash returns 2002),
which is exactly what opencode's agent loop sends when checking for further tool
calls. Every Gemini model fails under that condition, so skip the whole google/*
set until the client sends Gemini-compatible message sequences. Routing itself is
fine — this is a message-format incompatibility, not a gateway issue.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-24 21:39:11 -05:00
Aiden Cline 29db3a439a fix(sync): allow safe reasoning model updates (#4048)
* fix(sync): allow safe reasoning model updates

* fix(sync): keep deleted models uninspected
2026-08-04 09:03:31 -05:00
Aiden Cline e45188c568 feat(sync): auto-merge safe catalog updates (#3958)
* feat(sync): auto-merge safe catalog updates

* fix(sync): count model additions and deletions directly

* fix(sync): require review for reasoning changes

* fix(sync): disable unsafe auto-merge before push

* fix(sync): harden auto-merge check output
2026-08-03 14:34:12 -05:00
Gregory ee07b91591 feat(ambient): sync model catalog from API
Add an Ambient sync provider that maps the OpenRouter-shaped catalog through the
shared builder. Skip catalog entries with is_ready=false so only served models
are generated, and set deleteMissing=false with skipped/missing notices so a
transient catalog omission retains local files instead of deleting them. Emit
reasoning_options = [] for reasoning models, since Ambient exposes no reasoning
control, rather than silently inheriting the base model's options.
2026-07-11 13:38:19 +02:00
Daniel Barnes cf68aae418 Merge remote-tracking branch 'upstream/dev' into dacbd-wandb-update 2026-07-06 15:38:47 -07:00
Aiden Cline 24b57545c3 feat(sync): migrate DigitalOcean model sync 2026-07-06 11:01:07 -05:00
vimtor 787fb9b325 feat: add models.dev sdk 2026-07-03 14:10:05 +02:00
Daniel Barnes 551ee3f4fa Merge remote-tracking branch 'upstream/dev' into dacbd-wandb-update
# Conflicts:
#	providers/wandb/models/MiniMaxAI/MiniMax-M2.5.toml
#	providers/wandb/models/OpenPipe/Qwen3-14B-Instruct.toml
#	providers/wandb/models/Qwen/Qwen3-235B-A22B-Instruct-2507.toml
#	providers/wandb/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml
#	providers/wandb/models/Qwen/Qwen3-Coder-480B-A35B-Instruct.toml
#	providers/wandb/models/ibm-granite/granite-4.1-8b.toml
#	providers/wandb/models/meta-llama/Llama-3.1-8B-Instruct.toml
#	providers/wandb/models/meta-llama/Llama-3.3-70B-Instruct.toml
#	providers/wandb/models/meta-llama/Llama-4-Scout-17B-16E-Instruct.toml
#	providers/wandb/models/microsoft/Phi-4-mini-instruct.toml
#	providers/wandb/models/moonshotai/Kimi-K2.5.toml
#	providers/wandb/models/openai/gpt-oss-120b.toml
2026-07-02 05:47:37 +09:00
Aiden Cline 14858019b7 Merge pull request #2797 from Lee-Si-Yoon/remove-friendli-llama-models
feat(friendli): remove Llama model support
2026-06-28 10:43:18 -05:00
Daniel Barnes 0ca628c9f8 Merge branch 'dev' into dacbd-wandb-update 2026-06-27 23:52:06 +09:00
thestreamcode e25bf46ee6 chore(chutes): wire catalog into the model sync system
Replace the standalone generate-chutes.ts with a SyncProvider module
(src/sync/providers/chutes.ts) registered in the sync system, so the
Chutes catalog is kept current by the automated model sync instead of a
hand-run generator. Resync the catalog to the live llm.chutes.ai/v1/models
set (13 models).

- reasoning_options: emit [] — the API advertises a reasoning capability
  but exposes no toggle/effort parameter, so there is no provider evidence
  for a reasoning option.
- Qwen3-235B-A22B-Thinking-2507-TEE: carry checkpoint-specific metadata
  inline instead of factoring it through the generic alibaba/qwen3-235b-a22b
  base (whose context window and capabilities differ).
- Mistral-Nemo-Instruct-2407-TEE references the canonical mistral/mistral-nemo
  via a base_model alias (its "unsloth" source org has no default mapping).
- Correct the inline models' release dates (Thinking-2507 -> 2025-07,
  DeepSeek-V3.2 -> 2025-12).
- Document the provider under "Chutes Notes" in sync.md.
2026-06-27 00:53:52 +02:00
Daniel Barnes c9faae0647 sync update 2026-06-26 09:26:55 +09:00
siyoon ff2ee882bc chore(friendli): remove llama patterns from generate script 2026-06-26 09:26:06 +09:00
Daniel Barnes ee9a5048b1 family updates 2026-06-24 05:09:46 +09:00
Daniel Barnes fe63bfad31 update against prod deployed endpoint 2026-06-24 04:45:28 +09:00
Daniel Barnes ed6560e7fb update wandb sync script 2026-06-24 04:45:20 +09:00
Daniel Barnes 98d983d714 fix(sync): update wandb models script for new models.dev data endpoint 2026-06-24 04:41:09 +09:00
thestreamcode 7f3dd51c5e fix: handle Windows path separators in catalog generation
On Windows, `path.relative()` and `Bun.Glob` return paths with backslash
separators, while model IDs and the Chutes API use forward slashes. This
broke two things on Windows:

- `generate()` keyed model metadata as `provider\model`, so every
  `base_model` reference failed to resolve, making `bun run validate`,
  the test suite and the web build unusable.
- `generate-chutes.ts` compared backslash file paths against forward-slash
  API IDs, so the orphan check matched nothing and would delete every
  existing model file.

Normalize the affected paths to forward slashes. No behaviour change on
POSIX, where `path.sep` is already `/`.
2026-06-21 13:26:17 +02:00
Aiden Cline 78cb28fe8e fix(sync): normalize Kimi model families 2026-06-12 13:50:14 -05:00
Aiden Cline bd6fc4b145 feat(models): add Kimi K2.7 Code 2026-06-12 11:35:17 -05:00
Aiden Cline 25c3d6cd23 [venice] Migrate generator to sync runner 2026-06-10 10:58:12 -05:00
dpuyosa d4bf232f91 [venice] Add base_model + reasoning_options to generator
- Derive open_weights from base model metadata when present
- Remove open_weights from baseModelOverrides and formatBaseModelToml
- Add temperature comparison in detectChanges for provider models
2026-06-10 12:59:38 +02:00
dpuyosa 0b27d6034d [venice] Add base_model + reasoning_options to generator
- Add base_model lookup via models/ metadata directory
- Support new reasoning field (reasoning_options effort), audio pricing, and full TOML formatting
- Preserve existing fields and emit minimal override TOMLs when base_model present
- Update change detection and formatting for base_model mode
2026-06-10 12:42:39 +02:00