Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,12 @@ def check_missing_info() -> str:
|
|
| 28 |
|
| 29 |
@tool
|
| 30 |
def save_user_response(question: str, answer: str):
|
| 31 |
-
"""Saves user responses to memory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
if "marathon time" in question.lower():
|
| 33 |
if ":" in answer:
|
| 34 |
user_data["marathon_time"] = answer
|
|
|
|
| 28 |
|
| 29 |
@tool
|
| 30 |
def save_user_response(question: str, answer: str):
|
| 31 |
+
"""Saves user responses to memory.
|
| 32 |
+
|
| 33 |
+
Args:
|
| 34 |
+
question (str): The question asked to the user.
|
| 35 |
+
answer (str): The user's response to the question.
|
| 36 |
+
"""
|
| 37 |
if "marathon time" in question.lower():
|
| 38 |
if ":" in answer:
|
| 39 |
user_data["marathon_time"] = answer
|