[PR #2311] [CLOSED] web: default temperature 1.0, as the model card and generation_config.json say #3975

Closed
opened 2026-11-07 15:32:10 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2311
Author: @kevin9327
Created: 10/13/2026
Status: ❌ Closed

Base: main ← Head: web-default-temperature


📝 Commits (1)

  • eab0a6e web: default temperature 1.0, as the model card and generation_config.json say (#2306)

📊 Changes

2 files changed (+22 additions, -1 deletions)

View changed files

➕ serve/test_web_defaults.py (+21 -0)
📝 serve/web/app.js (+1 -1)

📄 Description

Issue: Resolves #2306

Summary

The web app started a chat at temperature 0.6 (the older Qwen3 thinking-mode value). The Qwen3.8-Flash-Next model card (thinking mode) and its generation_config.json say 1.0 / 0.95 / 20, which DETAILS.md also uses for sampled decoding.

What changed

  • serve/web/app.js: DEFAULTS.temperature 0.6 -> 1.0. top_p and top_k were already 0.95 / 20.
  • serve/test_web_defaults.py: reads DEFAULTS from app.js and checks 1.0 / 0.95 / 20.

Extra Notes

  • What it leaves alone: settings a user already saved (they are kept in the browser's store and still win), the API's defaults, and the run config's sampling block. This is not a speed change.
  • How I checked: python3 -m unittest serve.test_web_defaults fails on main and passes with the change.
  • Not checked: the Coder / Swift variants' cards, as the issue notes.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2311 **Author:** [@kevin9327](https://github.com/kevin9327) **Created:** 10/13/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `web-default-temperature` --- ### 📝 Commits (1) - [`eab0a6e`](https://github.com/Niko1221/Strata/commit/eab0a6eb5d7cde2abc5dfd140ba43ea7a74735d4) web: default temperature 1.0, as the model card and generation_config.json say (#2306) ### 📊 Changes **2 files changed** (+22 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `serve/test_web_defaults.py` (+21 -0) 📝 `serve/web/app.js` (+1 -1) </details> ### 📄 Description Issue: Resolves #2306 ## Summary The web app started a chat at temperature 0.6 (the older Qwen3 thinking-mode value). The Qwen3.8-Flash-Next model card (thinking mode) and its `generation_config.json` say 1.0 / 0.95 / 20, which DETAILS.md also uses for sampled decoding. ## What changed - `serve/web/app.js`: `DEFAULTS.temperature` 0.6 -> 1.0. top_p and top_k were already 0.95 / 20. - `serve/test_web_defaults.py`: reads `DEFAULTS` from app.js and checks 1.0 / 0.95 / 20. ## Extra Notes - What it leaves alone: settings a user already saved (they are kept in the browser's store and still win), the API's defaults, and the run config's `sampling` block. This is not a speed change. - How I checked: `python3 -m unittest serve.test_web_defaults` fails on main and passes with the change. - Not checked: the Coder / Swift variants' cards, as the issue notes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:32:10 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3975
No description provided.