Skip to content

Commit 45481ed

Browse files
committed
Update ctx.py
1 parent 4583afc commit 45481ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ctx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def rewrite_prompt(original_prompt: str, context: str, note: str, max_tokens: Op
278278
"Rewrite the user's question to be specific and actionable using only the provided context. "
279279
"Cite file paths, line ranges, and symbols only if they appear verbatim in the Context refs; never invent references. "
280280
"If line ranges are not shown for a file, cite only the file path. "
281-
"Prefer a multi-clause question that explicitly calls out what to analyze across the referenced components (e.g., algorithmic steps; inputs/outputs; configuration/parameters; performance; error handling; edge cases), when applicable. "
281+
"Prefer a multi-clause question that explicitly calls out what to analyze across the referenced components when applicable; focus on concrete aspects such as algorithmic steps, inputs/outputs, parameters/configuration, performance, error handling, tests, and edge cases. "
282282
"Do not answer the question. Return only the rewritten question as plain text with no markdown or code fences."
283283
)
284284
user_msg = (
@@ -300,7 +300,7 @@ def rewrite_prompt(original_prompt: str, context: str, note: str, max_tokens: Op
300300
payload = {
301301
"prompt": meta_prompt,
302302
"n_predict": int(max_tokens or DEFAULT_REWRITE_TOKENS),
303-
"temperature": 0.35,
303+
"temperature": 0.45,
304304
"stream": False,
305305
}
306306

0 commit comments

Comments
 (0)