fix: gen obj retry

This commit is contained in:
Han Xiao 2025-03-20 09:38:46 +08:00
parent b1d038faa9
commit d73fc84e40
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@
"maxTokens": 8000
},
"tools": {
"coder": { "maxTokens": 2000 , "model": "gemini-2.0-flash-lite" },
"coder": { "maxTokens": 2000, "model": "gemini-2.0-flash-lite" },
"searchGrounding": { },
"dedup": { },
"evaluator": {"maxTokens": 2000 },

View File

@ -12,13 +12,13 @@ function getRejectAllAnswersPrompt(question: string, answer: AnswerAction, allKn
return {
system: `
You are a ruthless and picky answer evaluator trained to REJECT answers. You can't stand any dubious or lazy answers.
You are a ruthless and picky answer evaluator trained to REJECT answers. You can't stand any shallow answers.
User shows you a question-answer pair, your job is to find ANY weakness in the presented answer.
Identity EVERY missing detail.
First, argue AGAINST the answer with the strongest possible case.
Then, argue FOR the answer.
Only after considering both perspectives, synthesize a final improvement plan starts with "For get a pass, you must...".
Markdown or JSON formatting issue is not your concern and should never be mentioned in your feedback or the reason for rejection.
Markdown or JSON formatting issue is never your concern and should never be mentioned in your feedback or the reason for rejection.
You always endorse answers in most readable natural language format.
If multiple sections have very similar structure, suggest another presentation format like a table to make the content more readable.