process_initial_messages
Parameters:
Returns:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
process_initial_messages(
messages: list[dict[str, Any]] | str,
user_agent: ForwardRef('ConversableAgent') | None,
agents: list['ConversableAgent'],
wrapped_agents: list['ConversableAgent']
) -> tuple[list[dict[str, Any]], ConversableAgent | None, list[str], list[Agent]]
| Name | Description |
|---|---|
messages | Initial messages to process. Type: list[dict[str, typing.Any]] | str |
user_agent | Optional user proxy agent passed in to a_/initiate_group_chat. Type: ForwardRef(‘ConversableAgent’) | None |
agents | Agents in the group. Type: list[‘ConversableAgent’] |
wrapped_agents | List of wrapped agents. Type: list[‘ConversableAgent’] |
| Type | Description |
|---|---|
| tuple[list[dict[str, typing.Any]], ConversableAgent | None, list[str], list[Agent]] | list[dict[str, Any]]: Processed message(s). Agent: Last agent to speak. list[str]: List of agent names. list[Agent]: List of temporary user proxy agents to add to GroupChat. |