microsoft/autogen
[Python] Fine-grained exception class for "recipient not found" in Core
オープン
#4,964 opened on 2025/01/09
help wantedproj-core
Repository metrics
- Stars
- (58,033 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
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.