feat: support to load an Agent from a repository (#2816)
Some checks failed
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled

* feat: support to load an Agent from a repository

* test: fix get_auth_token test
This commit is contained in:
Lucas Gomide
2025-05-12 17:08:57 -03:00
committed by GitHub
parent f700e014c9
commit d55e596800
5 changed files with 143 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
"""Error message definitions for CrewAI database operations."""
from typing import Optional
@@ -37,3 +38,9 @@ class DatabaseError:
The formatted error message
"""
return template.format(str(error))
class AgentRepositoryError(Exception):
"""Exception raised when an agent repository is not found."""
...