Skip to content
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

[Bug]: Incorrect Import and Initialization in the Second Example #37

Open
MarlonFillho opened this issue Jan 8, 2025 · 1 comment
Open
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@MarlonFillho
Copy link

In the first line of the second example, the import statement reads from clientai import client, but the client module does not exist in the clientai framework.

To fix this:

  1. Update the import statement to match the first example: from clientai import ClientAI.
  2. Change line 16 of the second example to properly initialize the client: client = ClientAI("groq", api_key="your-groq-key")
@MarlonFillho MarlonFillho added the bug Something isn't working label Jan 8, 2025
@igorbenav igorbenav added the documentation Improvements or additions to documentation label Jan 9, 2025
@igorbenav
Copy link
Owner

Nice catch, @MarlonFillho!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants