module RubyLLM::AgUI

The AG-UI integration namespace. Inside this namespace the protocol SDK is referred to as ::AgUiProtocol and the Rails framework as ::Rails, because RubyLLM::AgUI::Rails would otherwise shadow them.

Constants

VERSION

The version of the ruby_llm-ag_ui gem, as a string.

Public Class Methods

config() click to toggle source

The memoized RubyLLM::AgUI::Configuration.

# File lib/ruby_llm/ag_ui.rb, line 37
def config
  @config ||= Configuration.new
end
configure() { |config| ... } click to toggle source

Yields the memoized configuration.

RubyLLM::AgUI.configure do |config|
  config.run_store = MyRunStore.new
end
# File lib/ruby_llm/ag_ui.rb, line 32
def configure
  yield config
end
reset_configuration!() click to toggle source

Replaces the configuration with defaults. Intended for tests.

# File lib/ruby_llm/ag_ui.rb, line 42
def reset_configuration!
  @config = Configuration.new
end