Crig::Completion::PromptError
Constructors
completion_error(error : CompletionError) : self
Sourcememory_error(error : Crig::Memory::MemoryError) : self
Sourcenew(message : String, kind : Kind = Kind::Other, chat_history : Array(Message) | Nil = nil, prompt : Message | Nil = nil, max_turns : Int32 | Nil = nil, reason : String | Nil = nil, completion_error : CompletionError | Nil = nil, memory_error : Crig::Memory::MemoryError | Nil = nil, tool_error : Crig::ToolSetError | Nil = nil, tool_server_error : Crig::ToolServerError | Nil = nil, tool_name : String | Nil = nil, available_tools : Array(String) | Nil = nil, allowed_tools : Array(String) | Nil = nil)
Sourcetool_error(error : Crig::ToolSetError) : self
Sourcetool_server_error(error : Crig::ToolServerError) : self
SourceInstance methods
allowed_tools
Sourceavailable_tools
Sourcechat_history
Sourcecompletion_error
Sourcekind
Sourcemax_turns
Sourcememory_error
Sourceprompt
Sourcereason
Sourcetool_error
Sourcetool_name
Sourcetool_server_error
Source