#include <tool_dispatcher.h>
Public Member Functions | |
ToolDispatcher ()=default | |
absl::StatusOr< std::string > | Dispatch (const ToolCall &tool_call) |
void | SetRomContext (Rom *rom) |
Private Attributes | |
Rom * | rom_context_ = nullptr |
Definition at line 68 of file tool_dispatcher.h.
|
default |
absl::StatusOr< std::string > yaze::cli::agent::ToolDispatcher::Dispatch | ( | const ToolCall & | tool_call | ) |
Definition at line 232 of file tool_dispatcher.cc.
References yaze::cli::ToolCall::args, yaze::cli::agent::kUnknown, rom_context_, and yaze::cli::ToolCall::tool_name.
Referenced by yaze::cli::agent::ConversationalAgentService::SendMessage().
|
inline |
Definition at line 75 of file tool_dispatcher.h.
References rom_context_.
Referenced by yaze::cli::agent::ConversationalAgentService::SetRomContext().
|
private |
Definition at line 78 of file tool_dispatcher.h.
Referenced by Dispatch(), and SetRomContext().