We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the README where it mentions about AsyncAnthropic, the import statement is using Anthropic instead of AsyncAnthropic
Async Usage
Simply import AsyncAnthropic instead of Anthropic and use await with each API call:
from anthropic import Anthropic, HUMAN_PROMPT, AI_PROMPT anthropic = AsyncAnthropic( # defaults to os.environ.get("ANTHROPIC_API_KEY") api_key="my api key", )
The text was updated successfully, but these errors were encountered:
Thanks for reporting, we'll get this fixed soon!
Sorry, something went wrong.
No branches or pull requests
In the README where it mentions about AsyncAnthropic, the import statement is using Anthropic instead of AsyncAnthropic
The text was updated successfully, but these errors were encountered: