Skip to content

Commit 0bc0fc9

Browse files
committed
Expand return types on Agent
1 parent cb86215 commit 0bc0fc9

File tree

1 file changed

+1
-1
lines changed
  • src/django_ai_core/contrib/agents

1 file changed

+1
-1
lines changed

src/django_ai_core/contrib/agents/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _derive_parameters_from_signature(cls) -> list[AgentParameter]:
5656
return parameters
5757

5858
@abstractmethod
59-
def execute(self, *args, **kwargs) -> str:
59+
def execute(self, *args, **kwargs) -> str | dict | list:
6060
"""Execute the agent"""
6161

6262
def __init_subclass__(cls, **kwargs):

0 commit comments

Comments
 (0)