mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Fix bandit nosec marker for CI pipeline
This commit is contained in:
@@ -1563,7 +1563,7 @@ class MCPTool:
|
||||
raise ToolExecutionException(text or str(parsed))
|
||||
return parser(fallback_result)
|
||||
|
||||
assert task_id is not None # noqa: S101 - protected by the branch above
|
||||
assert task_id is not None # noqa: S101 # nosec B101 - protected by the branch above
|
||||
|
||||
# Phase 2: poll until terminal status, then fetch payload. Never re-issue tools/call
|
||||
# past this point; reconnect-and-retry only against the same task_id.
|
||||
|
||||
Reference in New Issue
Block a user