mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
refactor: optimize agent lookup and improve error handling
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -239,4 +239,5 @@ def test_delegate_work_with_unauthorized_agent():
|
||||
context="Important research"
|
||||
)
|
||||
assert "Error" in result
|
||||
assert "not authorized to delegate" in result
|
||||
assert "Authorization Error" in result
|
||||
assert "cannot delegate to" in result
|
||||
|
||||
Reference in New Issue
Block a user