microsoft/autogen

[Python] Fine-grained exception class for "recipient not found" in Core

Open

#4964 aperta il 9 gen 2025

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Python (8759 fork)batch import
help wantedproj-core

Metriche repository

Star
 (58.033 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

What I did

Sent a message to an agent before the runtime had actually been created. Caught an Exception object from this line as neither my agent or the runtime had been properly set up.

What I was expecting

A more specific Exception object that I could target to handle this case. I currently need to check for this specific error string to avoid catching every Exception that might by raised by the runtime.

Guida contributor