Update tools.py
Browse files
tools.py
CHANGED
@@ -28,13 +28,3 @@ def convert_currency(amount: float, from_currency: str, to_currency: str) -> str
|
|
28 |
|
29 |
except Exception as e:
|
30 |
return f"Error converting currency: {str(e)}"
|
31 |
-
|
32 |
-
|
33 |
-
@tool()
|
34 |
-
def show_my_memory(memory: list):
|
35 |
-
"""Just displays the memory passed as parameter.
|
36 |
-
|
37 |
-
Parameters:
|
38 |
-
- memory: A list of memories
|
39 |
-
"""
|
40 |
-
return f'My memories: {", ".join(memory)}'
|
|
|
28 |
|
29 |
except Exception as e:
|
30 |
return f"Error converting currency: {str(e)}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|