---
title: "Firebase AI Logic in JavaScript SDK 13.0.0 deprecates sampling parameters in GenerationConfig: 2026-10-07 | Harbyn"
description: "Firebase AI Logic in JavaScript SDK 13.0.0 deprecates sampling parameters in GenerationConfig, announced Oct 7, 2026."
canonical: "https://harbyn.com/changes/firebase/2026-10-07-generation-parameters-deprecated"
last-updated: 2026-10-07
---

# Firebase AI Logic in JavaScript SDK 13.0.0 deprecates sampling parameters in GenerationConfig

Markdown version of <https://harbyn.com/changes/firebase/2026-10-07-generation-parameters-deprecated>.

Deprecation - Firebase. low severity. In effect.

Firebase JavaScript SDK 13.0.0 deprecates candidateCount, temperature, topP, topK, presencePenalty and frequencyPenalty in GenerationConfig and LiveGenerationConfig, because Gemini 3.x and later models do not support them. No removal date is given.

## Facts

| Fact | Value |
| --- | --- |
| Vendor | [Firebase](https://harbyn.com/vendors/firebase.md) |
| Kind | Deprecation |
| Severity | low |
| Status | In effect |
| Announced | Oct 7, 2026 |
| Added to Harbyn | Oct 7, 2026 |
| Lead time | No dated deadline |
| Symbols | `candidateCount`, `temperature`, `topP`, `topK`, `presencePenalty`, `frequencyPenalty` |
| Review | Reviewed by a person, extracted by a model |

## Find it in your code

```sh
npx harbyn scan
```

This change names no identifier the scanner can match line by line, so the scan tells you whether your repository uses Firebase, from its packages and API hosts. Nothing leaves your machine.

## Sources

Where this event comes from: the page we read, when we read it, and the hash of that snapshot.

- <https://firebase.google.com/support/release-notes/js> (changelog, fetched 2026-10-07 23:09 UTC, sha256 `2407d40b1d1bbfdc5572e4c5640df949d51c50d74ee44b8e35cafa4951fb13c5`)

## Related changes

### More from Firebase

- [AI Logic in JavaScript SDK 13.0.0 exports ChatSession as an interface, not a class](https://harbyn.com/changes/firebase/2026-10-07-chatsession-class-replaced-by-interface.md) (Breaking change, announced Oct 7, 2026)
- [AI Logic in JavaScript SDK 13.0.0 makes gemini-3.5-flash-lite the default hybrid in-cloud model](https://harbyn.com/changes/firebase/2026-10-07-default-hybrid-in-cloud-model-changed.md) (Behavior change, announced Oct 7, 2026)
- [AI Logic in JavaScript SDK 13.0.0 removes previously deprecated APIs](https://harbyn.com/changes/firebase/2026-10-07-deprecated-apis-removed.md) (Breaking change, announced Oct 7, 2026)
- [Remote Config in JavaScript SDK 13.0.0 stops false CONFIG\_UPDATE\_STREAM\_ERROR events on backgrounding](https://harbyn.com/changes/firebase/2026-10-07-expected-background-connection-closes-handled-differently.md) (Behavior change, announced Oct 7, 2026)

### Changes at other vendors

- [AWS Lambda: Python 3.10 runtime deprecation](https://harbyn.com/changes/aws-lambda/2026-10-08-python-3-10-runtime-deprecation.md) (effective Oct 31, 2026)
- [Jira / Atlassian Cloud: Atlassian Analytics dashboard subscriptions being removed](https://harbyn.com/changes/atlassian-jira/2026-08-10-atlassian-analytics-dashboard-subscriptions-being-removed.md) (effective Nov 2, 2026)
- [Google Cloud Run and Functions: .NET 8 runtime deprecation](https://harbyn.com/changes/google-cloud/2026-10-08-net-8-runtime-deprecation.md) (effective Nov 10, 2026)
- [GitHub: X-GitHub-Stateless-S2S-Token header ignored from 2026-11-30](https://harbyn.com/changes/github/2026-10-02-x-github-stateless-s2s-token-header-ignored-from-2026-11-30.md) (effective Nov 30, 2026)

[All upcoming deadlines](https://harbyn.com/deadlines.md)
