diff --git a/scripts/generate_function_json.py b/scripts/generate_function_json.py index d9d86ce304d..cf785dfea89 100644 --- a/scripts/generate_function_json.py +++ b/scripts/generate_function_json.py @@ -10,11 +10,11 @@ def get_result(example: str) -> str: - if example == 'current_date': + if example == 'current_date()': return '2023-07-23' - elif example == 'get_current_time': + elif example == 'get_current_time()': return '14:04:22.524' - elif example == 'get_current_timestamp': + elif example == 'get_current_timestamp()': return '2023-07-23 14:04:22.538+00' try: