Skip to content

Add optional 'labels' to LiveConnectConfig similar to GenerateContentConfig #1610

@jamesblasco

Description

@jamesblasco

Feature Request

Summary:
Add an optional labels property to LiveConnectConfig with the following type:

labels?: Record<string, string>

This property should allow users to provide labels with user-defined metadata to break down billed charges, similar to what is available in GenerateContentConfig.

Details:

  • Location: Defined in src/types.ts (see line around 2801 for reference)
  • Purpose: Enable metadata labeling for billing and charge break-down within LiveConnect operations, mirroring the behavior available in GenerateContentConfig.

Why:

  • This addition will allow better traceability and flexibility for clients using LiveConnectConfig.

References:

  • See how labels is implemented in GenerateContentConfig for structure and typing.

Metadata

Metadata

Assignees

Labels

api:gemini-apipriority: p2Moderately-important priority. 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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions