googleapis / googleapis/nodejs-agentplatform
`mediaResolution` parameter missing from GenerationConfig
- 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
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