runtime error
Exit code: 1. Reason: Traceback (most recent call last): File "/usr/local/lib/python3.13/typing.py", line 1028, in __init__ code = compile(_rewrite_star_unpack(arg), '<string>', 'eval') File "<string>", line 1 Is it going to rain in chennai? ^^ SyntaxError: invalid syntax During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/app.py", line 11, in <module> @tool ^^^^ File "/usr/local/lib/python3.13/site-packages/smolagents/tools.py", line 901, in tool tool_json_schema = get_json_schema(tool_function)["function"] ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/smolagents/_function_type_hints_utils.py", line 197, in get_json_schema json_schema = _convert_type_hints_to_json_schema(func) File "/usr/local/lib/python3.13/site-packages/smolagents/_function_type_hints_utils.py", line 277, in _convert_type_hints_to_json_schema type_hints = get_type_hints(func) File "/usr/local/lib/python3.13/typing.py", line 2509, in get_type_hints value = ForwardRef( value, is_argument=not isinstance(obj, types.ModuleType), is_class=False, ) File "/usr/local/lib/python3.13/typing.py", line 1030, in __init__ raise SyntaxError(f"Forward reference must be an expression -- got {arg!r}") SyntaxError: Forward reference must be an expression -- got 'Is it going to rain in chennai?'
Container logs:
Fetching error logs...