Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DemoTaskHandler ¶ added in v0.2.5
type DemoTaskHandler struct {
// contains filtered or unexported fields
}
DemoTaskHandler implements TaskHandler interface for demo mode
func NewDemoTaskHandler ¶ added in v0.2.5
func NewDemoTaskHandler(toolBox *server.DefaultToolBox, logger *zap.Logger) *DemoTaskHandler
NewDemoTaskHandler creates a new demo task handler
func (*DemoTaskHandler) GetAgent ¶ added in v0.4.12
func (d *DemoTaskHandler) GetAgent() server.OpenAICompatibleAgent
GetAgent returns the configured OpenAI-compatible agent
func (*DemoTaskHandler) HandleTask ¶ added in v0.2.5
func (d *DemoTaskHandler) HandleTask(ctx context.Context, task *types.Task, message *types.Message) (*types.Task, error)
HandleTask processes tasks in demo mode by pattern matching and calling appropriate tools
func (*DemoTaskHandler) SetAgent ¶ added in v0.4.12
func (d *DemoTaskHandler) SetAgent(agent server.OpenAICompatibleAgent)
SetAgent sets the OpenAI-compatible agent for the task handler
type GoogleCalendarTools ¶
type GoogleCalendarTools struct {
// contains filtered or unexported fields
}
GoogleCalendarTools provides Google Calendar functionality as A2A tools
func NewGoogleCalendarTools ¶
NewGoogleCalendarTools creates a new Google Calendar tools instance
func (*GoogleCalendarTools) RegisterTools ¶
func (g *GoogleCalendarTools) RegisterTools(toolBox *server.DefaultToolBox)
RegisterTools registers all Google Calendar tools with the tools handler
Click to show internal directories.
Click to hide internal directories.