googleapis / googleapis/nodejs-agentplatform

`mediaResolution` parameter missing from GenerationConfig

Open
#535 0 comments 2 reactions 0 assignees View on GitHub
api: aiplatform priority: p3 type: feature request
Dominant language
TypeScript
Stars
182
Forks
69
Avg merge
1d 8h
Merged PRs (30d)
10

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.