Documentation
¶
Overview ¶
Package router maps task roles to specific AI providers. This enables heterogeneous multi-agent execution where different task types (backend, frontend, security, etc.) are handled by the most suitable model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router routes tasks to specific providers based on their role. When no route is configured for a role, the default provider is used.
func (*Router) For ¶
For returns the provider for a given task role. Falls back to the default provider if no route is registered for that role.
Click to show internal directories.
Click to hide internal directories.