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

[Draft]: Vertex AI model garden with OpenAI Compatibility #2336

Closed
wants to merge 1 commit into from

Conversation

zarinn3pal
Copy link
Contributor

Description here... Help the reviewer by:

  • Added Model garden to vertexAI and implemented openai_compatibility support

  • linking to an issue that includes more details

  • if it's a new feature include samples of how to use the new feature

  • (optional if issue link is provided) if you fixed a bug include basic bug details

Checklist (if applicable):

Copy link

google-cla bot commented Mar 14, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot added docs Improvements or additions to documentation feature New feature or request python Python config labels Mar 14, 2025
@yesudeep
Copy link
Contributor

@zarinn3pal added you to corp CLA. Can you please retrigger the checks?

def initialize(self, ai: GenkitRegistry) -> None:
"""Handles actions for various openaicompatible models."""
for model in self.plugin_options.models:
openai_model = next(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you just use SUPPORTED_OPENAI_FORMAT_MODELS.get(model)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are right. modified it

@zarinn3pal zarinn3pal force-pushed the zarinn3pal/feat/model-garden branch from 676f346 to d3630a2 Compare March 31, 2025 09:47
@zarinn3pal
Copy link
Contributor Author

Created a new PR for this , rebasing from recent main,addressing the PR suggestions

New PR: #2568

@zarinn3pal zarinn3pal closed this Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config docs Improvements or additions to documentation feature New feature or request python Python
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants