Skip to content

mediaResolution parameter missing from GenerationConfig #535

Description

@ArturLog

Description
I'm trying to use the mediaResolution parameter as described in the Vertex AI REST API documentation, but I’ve noticed that this library does not currently support this field. Specifically, the GenerationConfig does not include the mediaResolution parameter, which makes it impossible to fully utilize the API features through the Node.js client.

Suggested fix
Please update the GenerationConfig type definition in the library to match the actual REST API capabilities.

Additional context
Here’s the relevant documentation for the mediaResolution parameter:
https://ai.google.dev/api/generate-content#MediaResolution

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: aiplatformIssues related to the googleapis/nodejs-agentplatform API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions