googleapis / googleapis/nodejs-agentplatform

`mediaResolution` parameter missing from GenerationConfig

Offen
#535 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api: aiplatform priority: p3 type: feature request
Vorherrschende Sprache
TypeScript
Sterne
182
Forks
69
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
10

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Locate the GenerationConfig type definition in the TypeScript Node.js client and compare it with the mediaResolution details in the linked Vertex AI REST API documentation. Confirm how the existing generation configuration fields are represented, then verify that the type supports this documented parameter and that relevant type checks or tests pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
node.js, typescript
Bereich
api
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.