opencode-reviewer 0.6.0 → 0.6.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/tui.js +2 -1
- package/package.json +1 -1
package/dist/tui.js
CHANGED
|
@@ -1181,7 +1181,7 @@ var uiText = {
|
|
|
1181
1181
|
tokenCoverage: (available, total) => `Token counts available: ${available}/${total} requests`,
|
|
1182
1182
|
pricingCoverage: (available, total) => `Pricing available: ${available}/${total} requests`,
|
|
1183
1183
|
since: (date) => `Recorded since: ${date}`,
|
|
1184
|
-
ratings: (safe, unsafe) =>
|
|
1184
|
+
ratings: (safe, unsafe) => `${safe} \u2713 ${unsafe} \u2717`,
|
|
1185
1185
|
ratingsSince: (date) => `Ratings recorded since: ${date}`,
|
|
1186
1186
|
ratingsExplanation: "Ratings count completed, validated reviews, including those without usage data. Previews, retries and failed or interrupted analyses do not count. A fresh review after re-enabling counts again. Earlier ratings were not recorded and cannot be recovered.",
|
|
1187
1187
|
explanation: "Received usage only, including interrupted or unsuccessful reviews. Unreported charges remain unknown. Costs combine endpoint-reported amounts and catalog estimates; legacy history retains its original estimates. Earlier unrecorded usage cannot be recovered."
|
|
@@ -1861,6 +1861,7 @@ async function review(evidence, config, signal, fetcher = fetch, environment = p
|
|
|
1861
1861
|
const body = JSON.stringify({
|
|
1862
1862
|
model: config.model,
|
|
1863
1863
|
messages,
|
|
1864
|
+
max_tokens: 2e3,
|
|
1864
1865
|
stream: config.stream,
|
|
1865
1866
|
...config.stream ? { stream_options: { include_usage: true } } : {}
|
|
1866
1867
|
});
|