Skip to content

Commit 15ee592

Browse files
committed
fixed: was returning weird dictionary in delete_expense_tool
1 parent c3899c5 commit 15ee592

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
@@ -157,7 +157,7 @@ def delete_expense_tool(expense_id:str,config:RunnableConfig):
157157
result=get_expenses(user_id,expense_id)
158158
if result:
159159
return {f"{expense_id} is ready for deletion"}
160-
return {f"{expense_id} is not available or user has no authority"}
160+
return f"{expense_id} is not available or user has no authority"
161161

162162
@tool
163163
def list_all_expenses_tool(config:RunnableConfig):

0 commit comments

Comments
 (0)