@kenkaiiii/gg-ai 5.75.0 → 5.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1242,11 +1242,14 @@ function toAnthropicThinking(level, maxTokens, model) {
|
|
|
1242
1242
|
effort = "high";
|
|
1243
1243
|
}
|
|
1244
1244
|
return {
|
|
1245
|
-
//
|
|
1246
|
-
//
|
|
1247
|
-
//
|
|
1248
|
-
//
|
|
1249
|
-
|
|
1245
|
+
// "omitted" (what Claude Code sends): the model still thinks, but
|
|
1246
|
+
// thinking blocks stream empty (signature only). The app never renders
|
|
1247
|
+
// reasoning text, and "summarized" costs speed on Haiku 5.5: bench/h2h
|
|
1248
|
+
// measured output tok/s over each whole request at 151 (summarized) vs
|
|
1249
|
+
// 191 (omitted); Claude Code 195. Sonnet/Opus 5.5 measured even either way.
|
|
1250
|
+
// The UI's "Thinking…" timer keys off the empty thinking_delta emitted
|
|
1251
|
+
// when a thinking block opens, so it is unaffected.
|
|
1252
|
+
thinking: { type: "adaptive", display: "omitted" },
|
|
1250
1253
|
maxTokens,
|
|
1251
1254
|
outputConfig: { effort }
|
|
1252
1255
|
};
|