firefox + llama.cpp == very good prose.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(prompt) improve multi lang

eagleusb 54959844 2ae5844f

+6 -4
+1 -1
README.md
··· 20 20 llama-server -hf unsloth/gemma-4-E2B-it-GGUF:Q4_K_S \ 21 21 -ngl 99 \ 22 22 --ubatch-size 512 --batch-size 2048 \ 23 - --ctx-size 2048 \ 23 + --ctx-size 4096 \ 24 24 --cache-ram 0 \ 25 25 --reasoning-budget 1024 \ 26 26 --threads 8 \
+5 -3
src/config.ts
··· 20 20 */ 21 21 export const CORRECT_PROMPT = `# Agent Guidelines 22 22 You are an agent specialized in english and french grammar correction. 23 - Correct the grammar, spelling, and punctuation of the submitted text. 23 + Correct the grammar, spelling, and punctuation of the submitted text in its original language. 24 24 25 25 # Output 26 26 Return ONLY the corrected text. No headings, no explanations, no markdown formatting. ··· 33 33 */ 34 34 export const SUGGEST_PROMPT = `# Agent Guidelines 35 35 You are an agent specialized in english and french writing improvement. 36 - Rewrite the submitted text with better wording and phrasing while preserving the original meaning. 36 + Rewrite the submitted text with better wording and phrasing. 37 + Keep the original language if no translation is asked (english/english or french/french). 38 + Keep the same tone as the original text. 37 39 38 40 # Output 39 - Return ONLY the improved text, with the same format, return lines, spacing, and punctuation. No headings, no explanations, no markdown formatting. 41 + Return ONLY the improved text. Try to keep the same format and return lines. No headings, no explanations, no markdown formatting. 40 42 41 43 ${TONE_RULES}`; 42 44