@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/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
- max_output_tokens: options?.maxTokens ?? this.config.maxTokens ?? 8192,
14480
+ max_tokens: options?.maxTokens ?? this.config.maxTokens ?? 8192,
14481
14481
  temperature: options?.temperature ?? this.config.temperature ?? 0,
14482
14482
  store: false,
14483
14483
  stream: true
@@ -21121,9 +21121,7 @@ function renderFileBlock(file, opts) {
21121
21121
  content = wordHighlights.get(delIdx).styledAdd;
21122
21122
  } else {
21123
21123
  content = line.content;
21124
- }
21125
- if (lang) {
21126
- content = highlightLine(content, lang);
21124
+ if (lang) content = highlightLine(content, lang);
21127
21125
  }
21128
21126
  const lineStr = `${lineNo}${prefix} ${content}`;
21129
21127
  console.log(bgAddLine(lineStr));
@@ -21134,9 +21132,7 @@ function renderFileBlock(file, opts) {
21134
21132
  content = wordHighlights.get(li).styledDelete;
21135
21133
  } else {
21136
21134
  content = line.content;
21137
- }
21138
- if (lang) {
21139
- content = highlightLine(content, lang);
21135
+ if (lang) content = highlightLine(content, lang);
21140
21136
  }
21141
21137
  const lineStr = `${lineNo}${prefix} ${content}`;
21142
21138
  console.log(bgDeleteLine(lineStr));