Class: DebugAgent::ChatCallback

Inherits:
Object
  • Object
show all
Defined in:
lib/debug_agent/llm_client.rb

Overview

Chat callback interface (engine -> UI)

Direct Known Subclasses

SseCallback

Instance Method Summary collapse

Instance Method Details

#on_completeObject



19
# File 'lib/debug_agent/llm_client.rb', line 19

def on_complete; end

#on_content(chunk) ⇒ Object



16
# File 'lib/debug_agent/llm_client.rb', line 16

def on_content(chunk); end

#on_context_compressed(original, compressed, removed_rounds) ⇒ Object



21
# File 'lib/debug_agent/llm_client.rb', line 21

def on_context_compressed(original, compressed, removed_rounds); end

#on_error(message) ⇒ Object



20
# File 'lib/debug_agent/llm_client.rb', line 20

def on_error(message); end

#on_tool_result(tool_name, result) ⇒ Object



18
# File 'lib/debug_agent/llm_client.rb', line 18

def on_tool_result(tool_name, result); end

#on_tool_start(tool_name, args) ⇒ Object



17
# File 'lib/debug_agent/llm_client.rb', line 17

def on_tool_start(tool_name, args); end