Module hooks

Module hooks 

Source
Expand description

Rig PromptHook implementations for UI updates

Provides hooks that update the UI when tools are called during agent execution.

Structs§

ToolDisplayHook
A hook that updates the spinner when tools are executed

Enums§

ToolEvent
Events sent from the hook to the UI

Functions§

spawn_tool_display_handler
Spawns a task that listens for tool events and updates the spinner