Skip to content

Commit ec0e6a2

Browse files
committed
fixed:delete expense tool workflows
1 parent 15ee592 commit ec0e6a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

allinone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def delete_expense_tool(expense_id:str,config:RunnableConfig):
156156
user_id=config["configurable"]["user_id"]
157157
result=get_expenses(user_id,expense_id)
158158
if result:
159-
return {f"{expense_id} is ready for deletion"}
159+
return f"{expense_id} is ready for deletion"
160160
return f"{expense_id} is not available or user has no authority"
161161

162162
@tool

0 commit comments

Comments
 (0)