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

restore async groq functionality #704

Merged
merged 1 commit into from
May 27, 2024
Merged

Conversation

cmishra
Copy link
Contributor

@cmishra cmishra commented May 27, 2024

Restoring the ability to use Groq async. Was accidentally broken during this refactor.

Tested it locally and groq requests now trigger in parallel (assuming one passed in AsyncGroq). Using sync Groq works the same.


🚀 This description was created by Ellipsis for commit 5d0bcf7

Summary:

Restores asynchronous functionality for Groq in instructor/client_groq.py by correctly handling groq.AsyncGroq clients.

Key points:

  • Restored async functionality for Groq in instructor/client_groq.py.
  • Updated return types in overloaded from_groq functions to handle groq.AsyncGroq correctly.
  • Ensured parallel processing of Groq requests.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to 5d0bcf7 in 1 minute and 16 seconds

More details
  • Looked at 32 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_rJsP2YWBxOSm1XMX


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@jxnl jxnl merged commit 9b000ee into jxnl:main May 27, 2024
@cmishra cmishra deleted the cm/fix-async-groq-bug branch May 27, 2024 13:57
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants