-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safety error #74
Comments
So far tried deleting the image and pulling again but no luck! |
Strange that I get the exact error even after building docker image using the below instructions from Readme ./setup.sh # configure venv, install development dependencies, and install pre-commit hooks |
Same here |
Same here as well, using the README development example on Linux. For me it happens after executing a few steps of the task I requested on the web page |
The error |
For me the prompts that cause it are some variations of "Go to gurulia.com, find mark dawson's profile and click on it to go to his profile page" |
thanks - I was able to replicate |
So what's the resolution? I've got a pretty much non-working orignal demo |
I am also running into the same issue, I have a simple app which scrapes the web content and it fails with Any resolution ? Like what is exactly causing this because, at this point nothing is working. @chrisgorgo , please let us know. Any reply would be appreciated. |
@abhijitherekar Safe to say check back when there status returns to green. 11/4 |
I have very basic prompts like: summarize the content of a website: "URL". It works if its a direct prompt but it fails if its a in-direct prompt. It was working before, but from today I am seeing this issue and the status page is RED from 2 days. |
No matter the prompt and in both windows and linux environments, I get this error a min after prompting it.
➡️ Open http://localhost:8080 in your browser to begin
2024-10-23 08:17:13.523 Uncaught app exception
Traceback (most recent call last):
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 357, in
asyncio.run(main())
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 213, in main
st.session_state.messages = await sampling_loop(
^^^^^^^^^^^^^^^^^^^^
File "/home/computeruse/computer_use_demo/loop.py", line 105, in sampling_loop
raw_response = client.beta.messages.with_raw_response.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/anthropic/_legacy_response.py", line 377, in wrapped
return cast(LegacyAPIResponse[R], func(*args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/anthropic/_utils/_utils.py", line 274, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/anthropic/resources/beta/messages/messages.py", line 896, in create
return self._post(
^^^^^^^^^^^
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/anthropic/_base_client.py", line 1277, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/anthropic/_base_client.py", line 954, in request
return self._request(
^^^^^^^^^^^^^^
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/anthropic/_base_client.py", line 1058, in _request
raise self._make_status_error_from_response(err.response) from None
anthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'This action is temporarily not available at this time due to enhanced protections for the beta release.'}}
The text was updated successfully, but these errors were encountered: