Skip to main content

get_agent_id

Method
This is a method of the ChannelRouteConfig class in the config module.
Resolve agent ID for a given message context.

Signature

Parameters

str
default:"'default'"
Message context (dm, group, channel, default)

Returns

str
The agent ID for the given context, falling back to “default” route.

Source

View on GitHub

praisonaiagents/gateway/config.py at line 950

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents