yc1838 commited on
Commit
22d6053
·
1 Parent(s): bcecbbe

resolve merge conflict

Browse files
Files changed (1) hide show
  1. src/lilith_agent/app.py +2 -7
src/lilith_agent/app.py CHANGED
@@ -700,15 +700,10 @@ def build_react_agent(cfg: Config):
700
  "ONE word with no punctuation, no quotes, no speaker prefix. If it says 'comma-separated' or "
701
  "'alphabetized list', output items joined by ', ' with no prose. If it asks for a number, output "
702
  "digits only — no units, no commas — unless units are explicitly requested. Strip ALL leading prose "
703
- <<<<<<< HEAD
704
  "(e.g. 'The answer is', 'He said', character names, quotation marks). Constraint compliance beats "
705
  "completeness: an over-long answer is wrong, not safer."
706
- "10. MATHEMATICAL PRECISION: If the question requires math, double-check your algebraic calculations carefully. If a specific decimal precision or rounding is asked for (e.g., 'to 2 decimal places', 'nearest tenth'), you MUST calculate precisely and round STRICTLY AT THE VERY END. Do NOT prematurely round intermediate numbers.\n"
707
- "11. FINAL ANSWER FORMAT: When you have the final answer, output ONLY the value itself. Do not say 'The answer is...', do not provide explanations in your final output. Just output the bare minimum exact string, number, or list."
708
- =======
709
- "(e.g. 'The answer is', 'He said', character names, quotation marks). Output only the bare minimum "
710
- "exact string, number, or list. Constraint compliance beats completeness: an over-long answer is wrong, not safer."
711
- >>>>>>> 82a65e3 (feat: improve agent precision and formatting rules)
712
  )
713
 
714
  if memory_context:
 
700
  "ONE word with no punctuation, no quotes, no speaker prefix. If it says 'comma-separated' or "
701
  "'alphabetized list', output items joined by ', ' with no prose. If it asks for a number, output "
702
  "digits only — no units, no commas — unless units are explicitly requested. Strip ALL leading prose "
 
703
  "(e.g. 'The answer is', 'He said', character names, quotation marks). Constraint compliance beats "
704
  "completeness: an over-long answer is wrong, not safer."
705
+ "11. MATHEMATICAL PRECISION: If the question requires math, double-check your algebraic calculations carefully. If a specific decimal precision or rounding is asked for (e.g., 'to 2 decimal places', 'nearest tenth'), you MUST calculate precisely and round STRICTLY AT THE VERY END. Do NOT prematurely round intermediate numbers.\n"
706
+ "12. FINAL ANSWER FORMAT: When you have the final answer, output ONLY the value itself. Do not say 'The answer is...', do not provide explanations in your final output. Just output the bare minimum exact string, number, or list."
 
 
 
 
707
  )
708
 
709
  if memory_context: