AgentRouter
Sub classes¶
Name | Children | Inherits |
---|---|---|
CallbackRouter llmling_agent.delegation.router Router using callback function for decisions. |
||
RuleRouter llmling_agent.delegation.router Router using predefined rules. |
🛈 DocStrings¶
Base class for routing messages between agents.
Source code in src/llmling_agent/delegation/router.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
|
decide
async
¶
Make routing decision for message.
Source code in src/llmling_agent/delegation/router.py
107 108 109 |
|
get_end_decision
¶
Create decision to end routing.
Source code in src/llmling_agent/delegation/router.py
123 124 125 |
|
get_route_decision
¶
Create decision to route without waiting.
Source code in src/llmling_agent/delegation/router.py
119 120 121 |
|
get_wait_decision
¶
Create decision to route and wait for response.
Source code in src/llmling_agent/delegation/router.py
111 112 113 114 115 116 117 |
|