Skip to content

Commit

Permalink
Reformat tool.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfrench committed Nov 16, 2023
1 parent 933e3af commit 8a7cbeb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions reverse_string_tool/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ class ReverseStringTool(BaseTool):
@activity(
config={
"description": "Can be used to reverse a string",
"schema": Schema(
{
Literal(
"input", description="The string to be reversed"
): str
}
),
"schema": Schema({Literal("input", description="The string to be reversed"): str}),
}
)
def reverse_string(self, params: dict) -> TextArtifact | ErrorArtifact:
Expand Down

0 comments on commit 8a7cbeb

Please sign in to comment.