Patch Changes
- e4fd3d4: Regenerate SDK from updated OpenAPI spec.
- bf0fa02: The agent spec
modelis now{ type: "fixed", name, params? }or{ type: "auto", candidate_models }(4 to 10 models).
A migration rewrites saved agents and inline sessions. Requests withouttypestill work. - 5fa1a8f: Add
POST /api/v1/artifacts/{artifact_id}/updateto rename the caller's artifacts. The SDK gainsartifacts.update. - c7cf075: Admins can choose which models Auto may route to (
auto_model_routing.candidate_models: 4 to 10account/modelnames; empty until chosen, which leaves Auto unavailable, and can't be cleared once set). - ff00eb2: Add a tenant switch for auto model routing, on by default, on the Models settings page. Turning it off turns off model routing for the tenant:
autospecs are rejected and subagents run on their parent's model.GET /api/v1/capabilitiesnow returnsauto: { status, reason? }wherestatusisnot_configured,disabled, orenabled, replacingauto.enabled. The configuration manifest addsauto_model_routing: { enabled }. - 57779a6:
GET /api/v1/capabilitiesreportsauto.enabled: model routing is on for the tenant and the user has a model in every routing cluster. The new-chat model picker offers Auto, which is only selectable when that capability is enabled. Core addscanRouteEveryCategory. - b636956: Regenerate the TypeScript and Python SDKs after the Fern core/generator bump (schema validation fixes; Python distribution name
trueforge-sdk). - e5ae93c: Remove the
created_by_session_idfilter from the list artifacts API, and trim each listed artifact toid,name,created_by_subject,created_atandupdated_at. - a83cfd8:
GET /api/v1/modelsnow reportsproperties.auto_routingfor each model: whether the model supports Auto routing, then the categories it serves and whether it is in the Auto candidate list, or why it is unsupported. It also always returnscanonical_model,nullwhen unknown. The read shape is the newResolvedModelProperties;ModelPropertiesis unchanged. - b0742ee: Add
GET /api/v1/sessions/{session_id}/artifactsto list the artifacts that have a version created in a session. - Start the 0.187.0 release candidate line.
- 80803da: Revert the internal
POST /api/internal/sessions/{session_id}/turnsendpoint and theservicesession source arm. KeepgetSessionByIdfor service-key assume-user turn flows. - 9421cfb: Select each thread's model in the orchestrator, before the thread's first model call, instead of when the thread is built: a new turn's main thread is routed on the conversation and each new subagent on its delegated task. When model routing chooses a model, a new
thread.switch_modelevent records it withmodel.nameandmodel.params.reasoning_effort, and the model is saved with the thread. Any other model is neither recorded nor saved: a thread resumes on its saved routed model, or else on the model its spec or subagent request names, and rebuilds never route an existing thread.thread.createdno longer carries a model. An unknown model or a failed Auto routing now ends the turn with an error instead of returning 422.AgentThreadOrchestratortakes a requiredresolveModelinput;ITurnResourceResolver.resolveModelroutes subagents, falls back to an Auto root's model and reports how the model was chosen, androuteModelis replaced byautoModelRouterAvailable.ISessionStore.createTurnno longer takesmain_thread_model, and the newpatchThreadModelsaves a thread's model once chosen. - 8732a95: Persist the model each subagent runs on, including the effort returned with it, so a rebuilt subagent resumes on both. A subagent on a different model from its parent runs on that model's own defaults instead of the parent's params.
AgentDefinitionno longer carries the model; it's a separateAgentModel.