metrillm-mcp 0.1.0 → 0.1.2

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
@@ -566,7 +566,7 @@ async function generateStream(model, prompt, callbacks, options) {
566
566
  prompt,
567
567
  stream: true,
568
568
  keep_alive: options?.keep_alive ?? defaultKeepAlive,
569
- ...options?.think ? { think: true } : {},
569
+ ...options?.think !== void 0 ? { think: options.think } : {},
570
570
  options: {
571
571
  temperature: options?.temperature ?? 0,
572
572
  num_predict: options?.num_predict ?? 512
@@ -8136,7 +8136,7 @@ ${tl}${h.repeat(innerWidth)}${tr}`));
8136
8136
  if (!silent) printPerformanceTable(perf);
8137
8137
  let quality = null;
8138
8138
  if (!options.perfOnly) {
8139
- const qualityOpts = thinkEnabled ? { think: thinkEnabled } : void 0;
8139
+ const qualityOpts = thinkEnabled !== void 0 ? { think: thinkEnabled } : void 0;
8140
8140
  if (!silent) stepHeader("Quality Benchmark \u2014 Reasoning");
8141
8141
  const reasoning = await runReasoningBench(modelName, qualityOpts);
8142
8142
  if (!silent) stepHeader("Quality Benchmark \u2014 Math");