fix: Replace Google with GoogleGenerativeAI in provider options#8683
Conversation
…o include a new model provider "GoogleGenerativeAI" for better user experience
WalkthroughThis change updates the icon metadata for the "Google" provider option in the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (7)
🧰 Additional context used📓 Path-based instructions (2)`src/backend/base/langflow/components/**/*`: Add new backend components to the appropriate subdirectory under src/backend/base/langflow/components/.
`src/backend/**/components/**/*.py`: In your component class, set the 'icon' attribute to a string matching the frontend icon mapping exactly (case-sensitive).
🔇 Additional comments (10)
✨ Finishing Touches
🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
| info="Select the model provider", | ||
| real_time_refresh=True, | ||
| options_metadata=[{"icon": "OpenAI"}, {"icon": "Anthropic"}, {"icon": "Google"}], | ||
| options_metadata=[{"icon": "OpenAI"}, {"icon": "Anthropic"}, {"icon": "GoogleGenerativeAI"}], |
There was a problem hiding this comment.
i feel like we should be calling googles generative ai by its product name gemini.
…flow-ai#8683) * ✨ (language_model.py): update the options_metadata in DropdownInput to include a new model provider "GoogleGenerativeAI" for better user experience * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…flow-ai#8683) * ✨ (language_model.py): update the options_metadata in DropdownInput to include a new model provider "GoogleGenerativeAI" for better user experience * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This pull request includes a minor update to the
LanguageModelComponentclass insrc/backend/base/langflow/components/models/language_model.py. The change updates theoptions_metadatalist to replace"Google"with"GoogleGenerativeAI"as an option.Summary by CodeRabbit