mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Update error code
This commit is contained in:
committed by
eavanvalkenburg
Unverified
parent
bbec247ee8
commit
483bfe386b
@@ -254,8 +254,8 @@ def _checkpoint_storage_for_context(root: str, context_id: str) -> FileCheckpoin
|
||||
# endregion Approval Storage
|
||||
|
||||
# Foundry Toolbox Auth integration
|
||||
# Consent-URL error code returned by the Foundry MCP gateway.
|
||||
CONSENT_ERROR_CODE = -32006
|
||||
# Consent-URL error code returned by the Foundry MCP gateway when calling `/list`
|
||||
CONSENT_ERROR_CODE = -32007
|
||||
|
||||
|
||||
def is_consent_error(exc: BaseException) -> str | None:
|
||||
|
||||
Reference in New Issue
Block a user