Documentation
¶
Index ¶
- func ChannelFromContext(ctx context.Context) (string, bool)
- func ExcludedToolsFromContext(ctx context.Context) []string
- func SystemOverrideFromContext(ctx context.Context) (string, bool)
- func WithChannel(ctx context.Context, channel string) context.Context
- func WithExcludedTools(ctx context.Context, names ...string) context.Context
- func WithSystemOverride(ctx context.Context, system string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelFromContext ¶
ChannelFromContext returns the current chat channel when present.
func ExcludedToolsFromContext ¶
ExcludedToolsFromContext returns the per-run excluded tool names when present.
func SystemOverrideFromContext ¶
SystemOverrideFromContext returns the per-run system prompt override when present.
func WithChannel ¶
WithChannel returns a child context that carries the current chat channel.
func WithExcludedTools ¶
WithExcludedTools returns a child context that hides the named tools for a single run.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.