feat(vertexai): support lyria models#267
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces support for Lyria models in the Vertex AI plugin. It includes the implementation of the Lyria model logic, supporting both the predict and interactions endpoints, along with necessary API client updates and unit tests. Feedback highlights that the media input handling incorrectly defaults to image types and that the interactions API client hardcodes the global location, potentially ignoring user configuration.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces support for Lyria models in the Vertex AI plugin, including a new interactions API endpoint and LyriaOptions for configuration. It implements the logic to handle both standard and interaction-based model requests and includes comprehensive tests. A review comment identified a potential runtime error where a nullable request object is force-unwrapped, suggesting a safer null check.
Support Lyria models in VertexAI plugin.
Testing