@corbat-tech/coco 2.20.1 → 2.21.0
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/cli/index.js +12 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14477,7 +14477,7 @@ var CodexProvider = class {
|
|
|
14477
14477
|
model,
|
|
14478
14478
|
input,
|
|
14479
14479
|
instructions: instructions ?? "You are a helpful coding assistant.",
|
|
14480
|
-
|
|
14480
|
+
max_output_tokens: options?.maxTokens ?? this.config.maxTokens ?? 8192,
|
|
14481
14481
|
temperature: options?.temperature ?? this.config.temperature ?? 0,
|
|
14482
14482
|
store: false,
|
|
14483
14483
|
stream: true
|
|
@@ -21150,12 +21150,12 @@ function renderFileBlock(file, opts) {
|
|
|
21150
21150
|
}
|
|
21151
21151
|
}
|
|
21152
21152
|
}
|
|
21153
|
-
console.log();
|
|
21154
21153
|
}
|
|
21155
21154
|
function formatLineNo(line, show) {
|
|
21156
21155
|
if (!show) return "";
|
|
21157
|
-
const
|
|
21158
|
-
|
|
21156
|
+
const oldStr = line.oldLineNo !== void 0 ? String(line.oldLineNo) : "";
|
|
21157
|
+
const newStr = line.newLineNo !== void 0 ? String(line.newLineNo) : "";
|
|
21158
|
+
return chalk5.dim(`${oldStr.padStart(4)} | ${newStr.padStart(4)} `);
|
|
21159
21159
|
}
|
|
21160
21160
|
function getChangedLines(diff) {
|
|
21161
21161
|
const result = /* @__PURE__ */ new Map();
|