runtime error

Exit code: 1. Reason: ) ^ File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 328, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/gradio/routes.py", line 1791, in startup_events await app.get_blocks().run_extra_startup_events() File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 3385, in run_extra_startup_events await startup_event() File "/usr/local/lib/python3.13/site-packages/gradio/helpers.py", line 510, in _start_caching await self.cache() File "/usr/local/lib/python3.13/site-packages/gradio/helpers.py", line 560, in cache prediction = await self.root_block.process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<4 lines>... ) ^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 2293, in process_api data = await self.postprocess_data( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ block_fn, result["prediction"], state ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 2049, in postprocess_data raise ComponentProcessingError( ...<8 lines>... ) from err gradio.exceptions.ComponentProcessingError: Could not postprocess output component at index 0 (a `chatbot` component) of the event handler (named "wrapper") with output components: [chatbot]. Expected a `list[MessageDict | Message | ChatMessage | NormalizedMessageDict] | None`, but the value returned from the event handler was: [{'role': 'user', 'content': 'What is the weather in San Francisco right now?'}, {'role': 'assistant', 'content': [ChatMessage(content='In order to find the current weather in San Francisco, I will ne... (of type `list`). Original error: ValueError: Invalid message for Chatbot component: ChatMessage(content='In order to find the current weather in San Francisco, I will need to use my weather tool.', role='assistant', metadata={}, options=[])

Container logs:

Fetching error logs...