struct

Crig::Integrations::AgentImpl(M)

Inherits Crig::Integrations::CliChat < Struct < Value < Object

Constructors

new(agent : Crig::Agent(M), max_turns : Int32 = 1, show_usage : Bool = false, usage : Crig::Completion::Usage | Nil = nil)
Source

Instance methods

agent
Source
max_turns
Source
request(prompt : String, history : Array(Crig::Completion::Message), output : IO) : String
Source
show_usage?
Source
usage
Source