Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assistant ¶ added in v0.3.33
type Assistant interface {
ResolveRoute(context.Context, RouteInput) (Route, error)
SendAssistantMessage(context.Context, Sender, []agentkit.ContentPart, AssistantMessageOptions) error
SendProactiveInboxText(context.Context, Sender, string) error
}
Assistant resolves delivery routes and sends proactive assistant messages.
type AssistantMessageOptions ¶ added in v0.3.33
type AssistantMessageOptions struct {
Route RouteInput
// Raw skips platform markdown conversion when the transport supports it.
Raw bool
// UseContextEmit delivers through the per-turn OutboundEmit hook when the route
// is the current inbox (empty SessionID and UserID).
UseContextEmit bool
}
AssistantMessageOptions configures proactive assistant outbound delivery.
type Route ¶
type Route struct {
SessionID agentkit.SessionID
AgentID agentkit.AgentID
PlatformID string
UserID string
}
Route is the resolved outbound/inbox target for delivery tools.
type RouteInput ¶
RouteInput is shared by send, chat_history, and similar tools.
Click to show internal directories.
Click to hide internal directories.