@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.cjs
CHANGED
|
@@ -1315,11 +1315,14 @@ function toAnthropicThinking(level, maxTokens, model) {
|
|
|
1315
1315
|
effort = "high";
|
|
1316
1316
|
}
|
|
1317
1317
|
return {
|
|
1318
|
-
//
|
|
1319
|
-
//
|
|
1320
|
-
//
|
|
1321
|
-
//
|
|
1322
|
-
|
|
1318
|
+
// "omitted" (what Claude Code sends): the model still thinks, but
|
|
1319
|
+
// thinking blocks stream empty (signature only). The app never renders
|
|
1320
|
+
// reasoning text, and "summarized" costs speed on Haiku 5.5: bench/h2h
|
|
1321
|
+
// measured output tok/s over each whole request at 151 (summarized) vs
|
|
1322
|
+
// 191 (omitted); Claude Code 195. Sonnet/Opus 5.5 measured even either way.
|
|
1323
|
+
// The UI's "Thinking…" timer keys off the empty thinking_delta emitted
|
|
1324
|
+
// when a thinking block opens, so it is unaffected.
|
|
1325
|
+
thinking: { type: "adaptive", display: "omitted" },
|
|
1323
1326
|
maxTokens,
|
|
1324
1327
|
outputConfig: { effort }
|
|
1325
1328
|
};
|