Skip to content

Live API End sensitivity documentation inconsistency #2555

@cyh0530

Description

@cyh0530

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is this a client library issue or a product issue? We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the Support page to reach the most relevant engineers.

If the support paths suggested above still do not result in a resolution, please provide the following details.

Environment details

  • Programming language: N/A
  • OS: N/A
  • Language runtime version: N/A
  • Package version: N/A

Steps to reproduce

  1. Visit https://ai.google.dev/api/live#endsensitivity, it said "The default is END_SENSITIVITY_HIGH".
  2. Visit https://github.com/googleapis/python-genai/blob/main/google/genai/types.py#L1242, it said "The default is END_SENSITIVITY_LOW".
  3. Based on how I'm using it, it feels like the default is END_SENSITIVITY_HIGH.

Can you clarify which documentation is correct? Thank you!

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.status:awaiting user responsetype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

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