Skip to content

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):

@google-cla
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

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

3 participants