RouteMatch
Defined in the protocols module.AI Agent Result of resolving a route. Attributes: agent: The resolved agent id. binding: The binding that matched, or
None when the fallback was used.
reason: Short human-readable explanation for logging/debugging.
profile: The isolated tenant-profile named by the matched binding, or
None when the route is unscoped / the fallback was used (Issue
#3189). Surfaced here so the wrapper can enter the profile’s memory
namespace / secret scope for the turn without re-resolving, and so
an unmatched route fails closed (never inherits another tenant’s
profile).
Properties
str
No description available.
Optional[RouteBinding]
No description available.
str
No description available.
Optional[str]
No description available.
Source
View on GitHub
praisonaiagents/gateway/protocols.py at line 1844
