@corbat-tech/coco 2.21.0 → 2.21.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/cli/index.js CHANGED
@@ -4487,7 +4487,7 @@ var init_codex = __esm({
4487
4487
  model,
4488
4488
  input,
4489
4489
  instructions: instructions ?? "You are a helpful coding assistant.",
4490
- max_output_tokens: options?.maxTokens ?? this.config.maxTokens ?? 8192,
4490
+ max_tokens: options?.maxTokens ?? this.config.maxTokens ?? 8192,
4491
4491
  temperature: options?.temperature ?? this.config.temperature ?? 0,
4492
4492
  store: false,
4493
4493
  stream: true
@@ -11149,9 +11149,7 @@ function renderFileBlock(file, opts) {
11149
11149
  content = wordHighlights.get(delIdx).styledAdd;
11150
11150
  } else {
11151
11151
  content = line.content;
11152
- }
11153
- if (lang) {
11154
- content = highlightLine(content, lang);
11152
+ if (lang) content = highlightLine(content, lang);
11155
11153
  }
11156
11154
  const lineStr = `${lineNo}${prefix} ${content}`;
11157
11155
  console.log(bgAddLine(lineStr));
@@ -11162,9 +11160,7 @@ function renderFileBlock(file, opts) {
11162
11160
  content = wordHighlights.get(li).styledDelete;
11163
11161
  } else {
11164
11162
  content = line.content;
11165
- }
11166
- if (lang) {
11167
- content = highlightLine(content, lang);
11163
+ if (lang) content = highlightLine(content, lang);
11168
11164
  }
11169
11165
  const lineStr = `${lineNo}${prefix} ${content}`;
11170
11166
  console.log(bgDeleteLine(lineStr));