runtime error

Exit code: 1. Reason: *inputs, limiter=self.limiter) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/to_thread.py", line 63, in run_sync return await get_async_backend().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2518, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1002, in run result = context.run(func, *args) File "/app/app.py", line 22, in chat text = tokenizer.apply_chat_template( messages, tokenize=False, add_generation_prompt=True ) File "/usr/local/lib/python3.13/site-packages/transformers/tokenization_utils_base.py", line 3063, in apply_chat_template rendered_chat, generation_indices = render_jinja_template( ~~~~~~~~~~~~~~~~~~~~~^ conversations=conversations, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<6 lines>... **template_kwargs, ^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/transformers/utils/chat_template_utils.py", line 555, in render_jinja_template rendered_chat = compiled_template.render( messages=chat, ...<3 lines>... **kwargs, ) File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render self.environment.handle_exception() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception raise rewrite_traceback_stack(source=source) File "<template>", line 16, in top-level template code TypeError: can only concatenate str (not "NoneType") to str

Container logs:

Fetching error logs...