Skip to content

ruby_llm-ag_ui v1.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 13:07
· 3 commits to main since this release

[1.0.0] - 2026-11-02

The stable integration contract. The public API, configuration, and store
contract proposed in 0.4 are now covered by Semantic Versioning.

Removed

  • Support for Ruby 3.2, which reached end of life in March 2026. The gem now
    requires Ruby 3.3 or newer, and CI tests Ruby 3.3, 3.4, and 4.0.

Changed

  • The durable store finds interrupted runs through the shipped status index,
    instead of loading and parsing every run on the thread for each resume.

Fixed

  • Open a new tool call when a streamed fragment carries a new id under a stream
    index already in use, as RubyLLM does. An OpenAI-compatible server that sends
    each parallel call whole at index 0 no longer has a second call's arguments
    appended to the first call.
  • Handle stream refusals in Rails hosts without Active Record, preserving
    unrelated host errors instead of replacing them with a missing constant.
  • Honor zero quality and media-range precedence in SSEWriter.accepts?.
    Rails refuses an unacceptable stream with 406 before resolving a chat or
    reserving a run, even when a wildcard would otherwise allow streaming.
  • Open each streamed tool call of a later tool round in the same turn. Providers
    restart stream indexes in every response, so a second round's arguments were
    sent to the first round's ended call before the new call opened.
  • Send streamed tool arguments that concatenate to valid JSON for Anthropic,
    Bedrock, and Gemini. The empty input object that opens an Anthropic or
    Bedrock call is no longer sent before its partial JSON, and a whole Gemini
    call is serialized as JSON instead of Ruby Hash#to_s output.
  • Defer loading ActiveRecord::Base until the host uses the durable store.
    Requiring the gem during a Rails boot no longer loads Active Record before
    the application's configuration.
  • Accept a redaction policy object that defines only #call, instead of
    failing the run when a tool result or progress update is redacted.
  • Refuse input with text that is not UTF-8, or a number JSON cannot represent,
    as MalformedInputError (400) instead of raising JSON::GeneratorError.
  • Release a finished run's response stream. RubyLLM cannot remove callbacks,
    so a chat reused across turns kept every earlier run's stream reachable.