-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Fix issue #2421: Handle missing google.genai dependency gracefully #2422
base: main
Are you sure you want to change the base?
Conversation
Co-Authored-By: Joe Moura <joao@crewai.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Joe Moura <joao@crewai.com>
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #2422OverviewThis pull request implements graceful handling of missing Google AI dependencies and enhances test coverage for Pydantic output functionality. The changes are well-structured across three files, significantly improving error handling and testing in the codebase. Detailed Review1.
|
Co-Authored-By: Joe Moura <joao@crewai.com>
This PR fixes issue #2421 where users encounter an error message 'Failed to add to long term memory: Failed to convert text into a Pydantic model due to error: No module named google.genai' when using pydantic models as output in tasks.
The fix:
Link to Devin run: https://app.devin.ai/sessions/a87c34b30d904c36b8bb9f97bb962d22
User: Joe Moura (joao@crewai.com)