Ich arbeite daran, einen Gruppenchat mit der Autogen -Bibliothek zu erstellen, aber auf einen Fehler begegnet, der sich auf die Erlaubnis_speaker_Transitions_dict bezieht. Hier ist eine vereinfachte Version meines Codes: < /p>
# Define the data fetch tool.
data_search_agent = AssistantAgent(
name="assistant",
model_client=az_model_client,
tools=[
get_customer_details_by_customerid,
get_customer_bill_details_by_customerid,
get_customer_call_center_conversations_by_customerid,
get_customer_email_conversations_by_customerid,
get_order_detail_by_customerid
],
system_message="system message",
)
# Define the Bill inspection agent.
bill_inspection_agent = AssistantAgent(
name="billing_assistant",
model_client=az_model_client_o1,
system_message="system message",
)
# Define the supervisor agent.
supervisor_agent = AssistantAgent(
name="supervison_assistant",
model_client=az_model_client,
system_message="Your work is to look at the query and ask the appropriate agent to get to work. You are the supervisor and you have to make sure that the work is done properly.",
)
user_proxy = autogen.ConversableAgent(
name="Admin",
system_message="Give the task, and send",
code_execution_config=False,
llm_config=llm_config,
human_input_mode="ALWAYS",
)
groupchat = autogen.GroupChat(
agents=[user_proxy, data_search_agent, supervisor_agent, bill_inspection_agent],
messages=[],
max_round=10,
)
manager = autogen.GroupChatManager(
groupchat=groupchat, model_client=az_model_client
)
< /code>
Dies führt zum folgenden Fehler: < /p>
ValueError: allowed_speaker_transitions_dict has values that are not lists of Agents.
Traceback (most recent call last):
File "agents.py", line 652, in
groupchat = autogen.GroupChat(
File "", line 21, in __init__
File "groupchat.py", line 220, in __post_init__
check_graph_validity(
File "graph_utils.py", line 52, in check_graph_validity
raise ValueError("allowed_speaker_transitions_dict has values that are not lists of Agents.")
ValueError: allowed_speaker_transitions_dict has values that are not lists of Agents.
Ich arbeite daran, einen Gruppenchat mit der Autogen -Bibliothek zu erstellen, aber auf einen Fehler begegnet, der sich auf die Erlaubnis_speaker_Transitions_dict bezieht. Hier ist eine vereinfachte Version meines Codes: < /p> [code]# Define the data fetch tool. data_search_agent = AssistantAgent( name="assistant", model_client=az_model_client, tools=[ get_customer_details_by_customerid, get_customer_bill_details_by_customerid, get_customer_call_center_conversations_by_customerid, get_customer_email_conversations_by_customerid, get_order_detail_by_customerid ], system_message="system message", )
# Define the Bill inspection agent. bill_inspection_agent = AssistantAgent( name="billing_assistant", model_client=az_model_client_o1, system_message="system message", )
# Define the supervisor agent. supervisor_agent = AssistantAgent( name="supervison_assistant", model_client=az_model_client, system_message="Your work is to look at the query and ask the appropriate agent to get to work. You are the supervisor and you have to make sure that the work is done properly.", )
user_proxy = autogen.ConversableAgent( name="Admin", system_message="Give the task, and send", code_execution_config=False, llm_config=llm_config, human_input_mode="ALWAYS", )
manager = autogen.GroupChatManager( groupchat=groupchat, model_client=az_model_client ) < /code> Dies führt zum folgenden Fehler: < /p> ValueError: allowed_speaker_transitions_dict has values that are not lists of Agents. [/code] [b] Vollständiger Traceback: [/b] [code]Traceback (most recent call last): File "agents.py", line 652, in groupchat = autogen.GroupChat( File "", line 21, in __init__ File "groupchat.py", line 220, in __post_init__ check_graph_validity( File "graph_utils.py", line 52, in check_graph_validity raise ValueError("allowed_speaker_transitions_dict has values that are not lists of Agents.") ValueError: allowed_speaker_transitions_dict has values that are not lists of Agents. [/code]
Ich muss rohe Opus-Frames (aus einem rtpdump-ähnlichen Format) kapseln, aber ich habe Probleme mit der Funktion ffmpeg.avformat_write_header – Fehler beim Schreiben von Opus-Headern -1094995529...
Ich versuche, Daten aus einer lokalen Postgres -Datenbank mit einer LLM -API zu extrahieren. Die Abfrage wird korrekt erzeugt und ich kann die Abfrage mit MS -Autogen -Wirkstoffen korrekt...
Ich habe die PIP-Installation für Twilio gemacht und das Terminal hat den größten Teil der Installation durchgeführt, aber am Ende gab es mir im Installationsfehlercode:
ERROR: Could not install...
Ich habe also einen Flask -Code, zwei betroffene Dateien sind flask_app.py und der andere ist Routen.py. Der geworfene Fehler reichte von
Error running WSGI application
2025-03-16 23:05:30,980:...