autogen_agentchat.state#
Zustandsverwaltung für Agenten, Teams und Abbruchbedingungen.
- pydantic model BaseState[Quelle]#
Bases:
BaseModelBasisklasse für alle speicherbaren Zustände
JSON-Schema anzeigen
{ "title": "BaseState", "description": "Base class for all saveable state", "type": "object", "properties": { "type": { "default": "BaseState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" } } }
- Felder:
type (str)version (str)
- pydantic model AssistantAgentState[Quelle]#
Bases:
BaseStateZustand für einen Assistenten-Agenten.
JSON-Schema anzeigen
{ "title": "AssistantAgentState", "description": "State for an assistant agent.", "type": "object", "properties": { "type": { "default": "AssistantAgentState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "llm_context": { "title": "Llm Context", "type": "object" } } }
- Felder:
llm_context (Mapping[str, Any])type (str)
- pydantic model BaseGroupChatManagerState[Quelle]#
Bases:
BaseStateBasisstatus für alle Gruppenchat-Manager.
JSON-Schema anzeigen
{ "title": "BaseGroupChatManagerState", "description": "Base state for all group chat managers.", "type": "object", "properties": { "type": { "default": "BaseGroupChatManagerState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "message_thread": { "items": { "type": "object" }, "title": "Message Thread", "type": "array" }, "current_turn": { "default": 0, "title": "Current Turn", "type": "integer" } } }
- Felder:
current_turn (int)message_thread (List[Mapping[str, Any]])type (str)
- pydantic model ChatAgentContainerState[Quelle]#
Bases:
BaseStateZustand für einen Container von Chat-Agenten.
JSON-Schema anzeigen
{ "title": "ChatAgentContainerState", "description": "State for a container of chat agents.", "type": "object", "properties": { "type": { "default": "ChatAgentContainerState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "agent_state": { "title": "Agent State", "type": "object" }, "message_buffer": { "items": { "type": "object" }, "title": "Message Buffer", "type": "array" } } }
- Felder:
agent_state (Mapping[str, Any])message_buffer (List[Mapping[str, Any]])type (str)
- pydantic model RoundRobinManagerState[Quelle]#
Bases:
BaseGroupChatManagerStateZustand für den
RoundRobinGroupChatManager.JSON-Schema anzeigen
{ "title": "RoundRobinManagerState", "description": "State for :class:`~autogen_agentchat.teams.RoundRobinGroupChat` manager.", "type": "object", "properties": { "type": { "default": "RoundRobinManagerState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "message_thread": { "items": { "type": "object" }, "title": "Message Thread", "type": "array" }, "current_turn": { "default": 0, "title": "Current Turn", "type": "integer" }, "next_speaker_index": { "default": 0, "title": "Next Speaker Index", "type": "integer" } } }
- Felder:
next_speaker_index (int)type (str)
- pydantic model SelectorManagerState[Quelle]#
Bases:
BaseGroupChatManagerStateZustand für den
SelectorGroupChatManager.JSON-Schema anzeigen
{ "title": "SelectorManagerState", "description": "State for :class:`~autogen_agentchat.teams.SelectorGroupChat` manager.", "type": "object", "properties": { "type": { "default": "SelectorManagerState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "message_thread": { "items": { "type": "object" }, "title": "Message Thread", "type": "array" }, "current_turn": { "default": 0, "title": "Current Turn", "type": "integer" }, "previous_speaker": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Previous Speaker" } } }
- Felder:
previous_speaker (str | None)type (str)
- pydantic model SwarmManagerState[Quelle]#
Bases:
BaseGroupChatManagerStateZustand für den
SwarmManager.JSON-Schema anzeigen
{ "title": "SwarmManagerState", "description": "State for :class:`~autogen_agentchat.teams.Swarm` manager.", "type": "object", "properties": { "type": { "default": "SwarmManagerState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "message_thread": { "items": { "type": "object" }, "title": "Message Thread", "type": "array" }, "current_turn": { "default": 0, "title": "Current Turn", "type": "integer" }, "current_speaker": { "default": "", "title": "Current Speaker", "type": "string" } } }
- Felder:
current_speaker (str)type (str)
- pydantic model MagenticOneOrchestratorState[Quelle]#
Bases:
BaseGroupChatManagerStateZustand für den
MagneticOneGroupChatOrchestrator.JSON-Schema anzeigen
{ "title": "MagenticOneOrchestratorState", "description": "State for :class:`~autogen_agentchat.teams.MagneticOneGroupChat` orchestrator.", "type": "object", "properties": { "type": { "default": "MagenticOneOrchestratorState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "message_thread": { "items": { "type": "object" }, "title": "Message Thread", "type": "array" }, "current_turn": { "default": 0, "title": "Current Turn", "type": "integer" }, "task": { "default": "", "title": "Task", "type": "string" }, "facts": { "default": "", "title": "Facts", "type": "string" }, "plan": { "default": "", "title": "Plan", "type": "string" }, "n_rounds": { "default": 0, "title": "N Rounds", "type": "integer" }, "n_stalls": { "default": 0, "title": "N Stalls", "type": "integer" } } }
- Felder:
facts (str)n_rounds (int)n_stalls (int)plan (str)task (str)type (str)
- pydantic model TeamState[Quelle]#
Bases:
BaseStateZustand für ein Team von Agenten.
JSON-Schema anzeigen
{ "title": "TeamState", "description": "State for a team of agents.", "type": "object", "properties": { "type": { "default": "TeamState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "agent_states": { "title": "Agent States", "type": "object" } } }
- Felder:
agent_states (Mapping[str, Any])type (str)
- pydantic model SocietyOfMindAgentState[Quelle]#
Bases:
BaseStateZustand für einen "Society of Mind"-Agenten.
JSON-Schema anzeigen
{ "title": "SocietyOfMindAgentState", "description": "State for a Society of Mind agent.", "type": "object", "properties": { "type": { "default": "SocietyOfMindAgentState", "title": "Type", "type": "string" }, "version": { "default": "1.0.0", "title": "Version", "type": "string" }, "inner_team_state": { "title": "Inner Team State", "type": "object" } } }
- Felder:
inner_team_state (Mapping[str, Any])type (str)