Crig::PromptRequest(S, M)
Constructors
new(agent : Crig::Agent(M), prompt : Crig::Completion::Message, runner : AgentRunner(M), memory : Crig::Memory::ConversationMemory | Nil = nil, conversation_id : String | Nil = nil)
SourceInstance methods
agent
Sourcechat_history
Sourceconcurrency
Sourceconversation_id
Sourceextended_details
Sourcemax_turns
Sourcememory
Sourceprompt
Sourcerunner
Sourcesend
Sourcesend_async
Sourcetool_choice(tool_choice : Completion::ToolChoice) : self
Sourcetool_context(context : Tool::ToolContext) : self
Sourcewith_hook(hook : AgentHook) : self
Sourcewithout_additional_params
Sourcewithout_max_tokens
Sourcewithout_memory
Sourcewithout_preamble
Sourcewithout_temperature
Sourcewithout_tool_choice
Source