Skip to content

Commit

Permalink
Fix order of casting
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowin committed Mar 15, 2024
1 parent 415d34c commit 3443daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marvin/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class FunctionTool(Tool, Generic[T]):


class ToolSet(MarvinType, Generic[T]):
tools: Optional[list[Union[Tool, FunctionTool[T]]]] = None
tools: Optional[list[Union[FunctionTool[T], Tool]]] = None
tool_choice: Optional[Union[Literal["auto"], dict[str, Any]]] = None


Expand Down

0 comments on commit 3443daf

Please sign in to comment.