Skip to content

Commit 38c62ae

Browse files
committed
Fix typo
1 parent 14b973b commit 38c62ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyagentspec/src/pyagentspec/adapters/crewai/agentspecexporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ def to_component(self, crewai_component: CrewAIComponent) -> Component:
5151
"""
5252
if not isinstance(crewai_component, (CrewAIAgent, CrewAIFlow)):
5353
raise TypeError(
54-
f"Expected an Agent of Flow, but got '{type(crewai_component)}' instead"
54+
f"Expected an Agent or Flow, but got '{type(crewai_component)}' instead"
5555
)
5656
return CrewAIToAgentSpecConverter().convert(crewai_component)

0 commit comments

Comments
 (0)