microsoft/autogen

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

オープン

#4,964 opened on 2025/01/09

 (7 件のコメント) (0 件のリアクション) (0 人の担当者)Python (8,759 件のフォーク)batch import
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.

コントリビューターガイド