Skip to content

@truefoundry/trueforge-assistant-ui-runtime@0.187.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 11:33
· 4 commits to main since this release
Immutable release. Only release title and notes can be modified.
50ae5e0

Patch Changes

  • c09039b: The agent config model picker can switch an agent to Auto and choose its candidate models. Auto sits above the provider list, and a warning label on the candidates explains when saved models are no longer in the workspace list, with Review changes and Sync with workspace actions on hover.
    Model picker rows now carry properties.autoRouting.
  • bf0fa02: The agent spec model is now { type: "fixed", name, params? } or { type: "auto", candidate_models } (4 to 10 models).
    A migration rewrites saved agents and inline sessions. Requests without type still work.
  • 3a10a28: Report agent metrics as a pair: the caller's own figures plus the agent-wide ones, which are null when the caller may not see other users' sessions. The agent library spend column now shows "yours / total", with a dash when the total is withheld.
  • c7cf075: Admins can choose which models Auto may route to (auto_model_routing.candidate_models: 4 to 10 account/model names; 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: auto specs are rejected and subagents run on their parent's model. GET /api/v1/capabilities now returns auto: { status, reason? } where status is not_configured, disabled, or enabled, replacing auto.enabled. The configuration manifest adds auto_model_routing: { enabled }.
  • 57779a6: GET /api/v1/capabilities reports auto.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 adds canRouteEveryCategory.
  • fd24f4c: The Auto model routing settings card shows which tiers each selected model covers, warns when a tier has no model, and locks models that do not support Auto routing with the reason on hover.
    Model picker rows now carry properties.autoRouting.
  • 7f02071: Keep agent-builder sessions in Chat History and reopen them in Agent Builder with their saved config; normal chats keep the existing chat flow.
  • 0790a1a: The first time Auto model routing is enabled for a tenant, New Chat switches the draft model preference to Auto once. A stored marker keeps later model choices from being overwritten. The model picker shows a hover tooltip explaining Auto routing. Draft spec updates made back to back before a re-render now build on each other instead of the last one winning.
  • 85eee2c: Keep a context summarization abandoned by steering on the cancelled turn, so the next message does not show a second stuck "Summarizing context..." row.
  • 1f8966c: Show a denied tool call's result as reason instead of error.
  • be07a30: Fix editing a message while a turn is open. Save & Rerun no longer sends twice, which threw "Composer is not available", and edit or retry no longer cancels and re-subscribes to the open turn before creating the branch. Tool approvals for directly loaded MCP tools now offer "Approve for 10 minutes" and "Approve in this session"; the runtime resolves the policy target for each pending approval and exposes it as PendingApproval.policyTarget. Use In Code stream samples iterate turn events directly: the TypeScript sample no longer unwraps withMetadata, and the Python sample opens the stream with a with block.
  • f301505: Rewind Try Again from the open chat when the parent turn is already loaded, instead of refetching that turn and its events before the new reply starts.
  • 2edb343: Prefer tool-approval chrome over MCP auth when both are pending, keep Connect/ask-user/custom prompts usable while siblings run without inventing paused turnState on later content, dismiss Continue without a blank Working gap, and show Cancelling feedback on the composer stop button.
  • Start the 0.187.0 release candidate line.
  • 25a7dd7: Render thread.switch_model in the chat thread as an expandable Agent steps row with the event JSON, mirroring context compaction.
  • 9bff4a3: Try Again and edit rewind from the loaded history when the parent turn is loaded, even if older turns are still on history pages. When the parent is not loaded, the fallback fetches only the newest window of its chain instead of downloading every earlier page before the new reply starts.
  • 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_model event records it with model.name and model.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.created no longer carries a model. An unknown model or a failed Auto routing now ends the turn with an error instead of returning 422. AgentThreadOrchestrator takes a required resolveModel input; ITurnResourceResolver.resolveModel routes subagents, falls back to an Auto root's model and reports how the model was chosen, and routeModel is replaced by autoModelRouterAvailable. ISessionStore.createTurn no longer takes main_thread_model, and the new patchThreadModel saves a thread's model once chosen.
  • f90acdb: Ask before turning off tenant web search or deleting a chat from history. Show last-turn status on session lists (warning/failure dots, running title shimmer and jumping dots, desktop full-title hover tip), and sync Chat History status when the live thread starts or finishes so polling resumes after idle/done rows. The shared text shimmer also updates the assistant "Working..." indicator in light mode.
  • a218542: Show why a chat turn stopped: readable reasons for stopped, timed-out, and interrupted turns, hidden only when a newer message replaced the turn.
  • bf57ece: The built-in TrueForge MCP now uses the same id and name, trueforge:mcp, and labels its tools as truefoundry-system instead of mcp.