Skip to content

refactor(interactions)!: remove cached_content, presence_penalty, and frequency_penalty; expose safety_settings and labels#2654

Merged
copybara-service[bot] merged 1 commit into
mainfrom
copybara/938161404
Jul 9, 2026
Merged

refactor(interactions)!: remove cached_content, presence_penalty, and frequency_penalty; expose safety_settings and labels#2654
copybara-service[bot] merged 1 commit into
mainfrom
copybara/938161404

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jun 25, 2026

Copy link
Copy Markdown

refactor(interactions)!: remove cached_content, presence_penalty, and frequency_penalty; expose safety_settings and labels

BREAKING CHANGE: Not supporting cached_content, presence_penalty, frequency_penalty.

  • Remove GENAI_PRIVATE_SDK restrictions for safety_settings and labels following approval.
  • Update HarmCategory field in SafetySettings proto from category to type.
  • Generate SDK changes for safety_settings and labels.

@copybara-service copybara-service Bot force-pushed the copybara/938161404 branch 10 times, most recently from 1fc0301 to e7da70b Compare July 1, 2026 21:34
@copybara-service copybara-service Bot changed the title No public description refactor(interactions)!: remove cached_content, presence_penalty, and frequency_penalty; expose safety_settings and labels Jul 1, 2026
@copybara-service copybara-service Bot force-pushed the copybara/938161404 branch 17 times, most recently from 04b6cb4 to 73253f9 Compare July 8, 2026 21:33
@copybara-service copybara-service Bot force-pushed the copybara/938161404 branch from 73253f9 to df195e8 Compare July 8, 2026 21:40
@copybara-service copybara-service Bot force-pushed the copybara/938161404 branch 5 times, most recently from 6bd7449 to d57e82c Compare July 9, 2026 00:49
… frequency_penalty; expose safety_settings and labels

BREAKING CHANGE: Not supporting `cached_content`, `presence_penalty`, `frequency_penalty`.

- Remove `GENAI_PRIVATE_SDK` restrictions for `safety_settings` and `labels` following approval.
- Update HarmCategory field in SafetySettings proto from `category` to `type`.
- Generate SDK changes for safety_settings and labels.

PiperOrigin-RevId: 944803542
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant