Crig::Agent(M)
Inherits Crig::Integrations::DiscordExt < Crig::StreamingChat < Crig::StreamingPrompt < Crig::StreamingPrompt < Struct < Value < Object
Constructors
Instance methods
Build a raw completion request from agent config. Used by the deprecated
streaming prompt request. Upstream has no public Agent#completion/
Agent#stream_completion — execution goes through the runner.
Convert this agent into a runtime-defined tool.
The configured agent name becomes the tool name. Unnamed agents use
agent_tool. This matches upstream Agent::into_tool.
Create a runner for this agent using the new v0.39.0 architecture. The runner drives the AgentRun state machine with hook dispatch.
Deprecated: use runner(prompt).history(history).stream instead.
Deprecated: use runner(prompt).stream instead.
Deprecated: use runner(prompt).stream instead.