dsh-codebase-chat 0.25.2 → 0.25.3

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.js CHANGED
@@ -2533,7 +2533,7 @@ import { existsSync as existsSync2 } from "fs";
2533
2533
  import { join as join8 } from "path";
2534
2534
  var DEFAULT_MODEL_URI = "hf:Qwen/Qwen2.5-1.5B-Instruct-GGUF:Q4_K_M";
2535
2535
  var LOCAL_CONTEXT_SIZE = 8192;
2536
- var LOCAL_MAX_TOKENS = 1024;
2536
+ var LOCAL_MAX_TOKENS = 1536;
2537
2537
  function isLocalLlmEnabled() {
2538
2538
  return !!(process.env.CODEBASE_LOCAL_LLM || "").trim();
2539
2539
  }
@@ -2795,7 +2795,7 @@ ${formatHealthReport(report, lang)}`;
2795
2795
  try {
2796
2796
  prompt = useLocal ? `${result.context}${staticSection}
2797
2797
 
2798
- ${lang === "en" ? `Answer based only on the codebase context above (${mode} mode). Be concise and cite file paths and lines.${query ? ` Question: ${query}` : ""}` : `R\xE9ponds en t'appuyant uniquement sur le contexte du codebase ci-dessus (mode ${mode}). Sois concis et cite les chemins de fichiers et lignes.${query ? ` Question : ${query}` : ""}`}
2798
+ ${lang === "en" ? `Answer based only on the codebase context above (${mode} mode). Structure your answer in short sections with bullet points, and cite each fact as [source: path:line].${query ? ` Question: ${query}` : ""}` : `R\xE9ponds en t'appuyant uniquement sur le contexte du codebase ci-dessus (mode ${mode}). Structure ta r\xE9ponse en sections courtes avec des puces, et cite chaque fait avec [source: fichier:ligne].${query ? ` Question : ${query}` : ""}`}
2799
2799
 
2800
2800
  ${lang === "en" ? "Answer" : "R\xE9ponse"} :` : buildToolPrompt(tool, {
2801
2801
  context: `${result.context}${staticSection}`,