Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,10 @@ def get_current_time(
|
|
| 68 |
return f"Invalid timezone or format: {e}"
|
| 69 |
@tool
|
| 70 |
def validate_final_answer(answer: str) -> str:
|
| 71 |
-
"""Checks final answer for clarity and completeness.
|
|
|
|
|
|
|
|
|
|
| 72 |
issues = []
|
| 73 |
if len(answer) < 20:
|
| 74 |
issues.append("Answer too short")
|
|
|
|
| 68 |
return f"Invalid timezone or format: {e}"
|
| 69 |
@tool
|
| 70 |
def validate_final_answer(answer: str) -> str:
|
| 71 |
+
"""Checks the final answer for clarity and completeness.
|
| 72 |
+
Args:
|
| 73 |
+
answer: The proposed final response generated by the agent
|
| 74 |
+
"""
|
| 75 |
issues = []
|
| 76 |
if len(answer) < 20:
|
| 77 |
issues.append("Answer too short")
|