2.4.1 #7
Reference in New Issue
Block a user
Delete Branch "2.4.1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New release commit. 2.4 -> 2.4.1
Fetches /api/v1/images/models in parallel with /models and merges results into the model picker. Image-only models (e.g. Sourceful, Seedream, Flux via this endpoint) were previously invisible since they don't appear in the standard /models endpoint. Models from the images API get usesImagesAPI=true and route through a new generateImageAPIResponse() path in ChatViewModel that POSTs to /api/v1/images with {model, prompt} instead of the chat completions endpoint. The response's b64_json data is decoded and displayed via the existing GeneratedImagesView. Cost is taken directly from the usage.cost field in the images API response (USD per image) via a new rawCostUSD field on ChatResponse.Usage, bypassing the token-based calculateCost() path used for chat models. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>The tool loop's max-iterations and empty-response fallbacks were showing placeholder assistant bubbles ("[Tool loop reached maximum iterations]", "[No response from the model — retrying]") followed by a "↩ Continuing…" system message before silently re-running. None of that added anything for the user, so the auto-continue now happens without any visible message when there's no real content to show; genuine partial content is still displayed as before, and usage/cost tracking is unaffected. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>