You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys! I am running into this issue!
Can you help me please???
TypeError: 'TextBlock' object does not support item assignment
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling result = func() ^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.__dict__) File "/home/computeruse/computer_use_demo/streamlit.py", line 308, in <module> except Exception as e: ^^^^^^^^^^^^^^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/home/computeruse/computer_use_demo/streamlit.py", line 181, in main # render past chats File "/home/computeruse/computer_use_demo/loop.py", line 115, in sampling_loop _inject_prompt_caching(messages) File "/home/computeruse/computer_use_demo/loop.py", line 257, in _inject_prompt_caching content[-1]["cache_control"] = BetaCacheControlEphemeralParam( ~~~~~~~~~~~^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
Hi guys! I am running into this issue!
Can you help me please???
TypeError: 'TextBlock' object does not support item assignment
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling result = func() ^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.__dict__) File "/home/computeruse/computer_use_demo/streamlit.py", line 308, in <module> except Exception as e: ^^^^^^^^^^^^^^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/home/computeruse/computer_use_demo/streamlit.py", line 181, in main # render past chats File "/home/computeruse/computer_use_demo/loop.py", line 115, in sampling_loop _inject_prompt_caching(messages) File "/home/computeruse/computer_use_demo/loop.py", line 257, in _inject_prompt_caching content[-1]["cache_control"] = BetaCacheControlEphemeralParam( ~~~~~~~~~~~^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered: