Doriandarko / claude-engineer

Claude Engineer is an interactive command-line interface (CLI) that leverages the power of Anthropic's Claude-3.5-Sonnet model to assist with software development tasks. This tool combines the capabilities of a large language model with practical file system operations and web search functionality.
8.97k stars 942 forks source link

Anthropic' object has no attribute 'beta' #168

Closed friteuseb closed 2 weeks ago

friteuseb commented 2 weeks ago

Traceback (most recent call last): File "/home/cyril/ddev/claude-engineer/main.py", line 1249, in asyncio.run(main()) File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_untilcomplete return future.result() File "/home/cyril/ddev/claude-engineer/main.py", line 1246, in main response, = await chat_with_claude(user_input) File "/home/cyril/ddev/claude-engineer/main.py", line 924, in chat_with_claude response = client.beta.prompt_caching.messages.create( AttributeError: 'Anthropic' object has no attribute 'beta'

friteuseb commented 2 weeks ago

since the last update i can't use the script, is it possible that claude beta features are not available in every country at the same time ?

friteuseb commented 2 weeks ago

pip install --upgrade anthropic should fix

HashimSyedUBC commented 1 week ago

I am still having this problem. Located in Canada.