You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[🐞 BUG] AI Request formed in a way that is much more likely to lead to failed instruction following (answering the transcript instead of cleaning it). #388
The AI prompts really need to put the user instructions in the system prompt NOT in the user message w/ the transcript payload appended directly after it. I was wondering why my prompt was having some relatively decent models fail miserably (like gpt-oss-120b w/ cerebras for insane speed)
I would just use a different model, but gpt-oss-120b from cerebras really occupies a special place: It's cheap, it can be smart and clean up transcripts well, and most importantly it's insanely fast (up to ~1000 tokens/second
CURRENT METHOD OF SENDING AI PROMPTS using {{placeholders}}:
the \n\n inst a clean enough seperation for some of the more persnickety models like gpt-oss-120b. This is a very important model for dictation cleanup though because it gets ~1000+ tokens/second w/ cerebras API. The model IS smart enough for the task, you just need to put the dictation cleanup instructions in the system prompt
Some older local LLMs don't support system prompts, but that is the exception, not the rule, the app already kicks back bad requests when something like wrong reasoning-level chosen, so i don't think creating this edge case by using system prompt is a major issue, just provide a toggle in the AI instructions for "put instructions in user message instead of system prompt";
OR better yet, make a manual mode where you just let the user form the entire json payload using {{...}} placeholders like {{SYSTEM_PROMPT}}, {{TRANSCRIPT}}, {{EDIT_INSTRUCTIONS}}, {{SELECTED_TEXT}} or %transcript%, %system_prompt%, etc.
None of the dictation apps do this which inevitebly leaves me at an impasse when i'm trying to work with a stubborn model like gpt-oss-120b that really needs so deliberate request structuring.
I think this is related to #277. Wanna take a look at that conversation and see what you think? Some models work better with the way 120b did not work is what I remember. Eitherway here to have a discussion to see what would be the best solution to this!
Also I am releasing a new model and would love for you to test it to see if you like it! It's a 4B model tuned for post processing :) lmk!
I've also experienced this with Claude Opus 4.7 as the cleanup model. Got so bad I abandoned using a cleanup model entirely. Fixing system prompt placement would help, but some amount of tweaking of the prompt given to cleanup models might also be necessary.
I think this is related to #277. Wanna take a look at that conversation and see what you think? Some models work better with the way 120b did not work is what I remember. Eitherway here to have a discussion to see what would be the best solution to this!
Yea it is addressing a similar issue, I think we just have different ideas on how to fix it. I think a combination of things can be done to reduce this failure mode, but exposing the system prompt and instruction prompt to be customized would probably be the most flexible, I'm willing to spend my time to find what works for my model choice. The main reason that I don't want to use another model is that gpt-oss-120b from cerebras outputs 1000+ tokens per second since it's basically running the model on an ASIC.
I still think having the instruction prompt is system prompt is a good idea, or even just a boilerplate generic "clean up role" prompt then put custom instructions inside the user message.
wrapping the raw transcript in <raw_transcript> ... </raw_transcript> and user instructions with <instructions> ... </instructions> with instructions in the system prompt on what these mean.
Some kind of statistical analysis on the output, that checks for similarity %, that causes this failure mode to register as a failed AI step so that at least the raw transcript is what is inserted rather than seeing the bad AI text as a valid output since it's not seen as a failure due to it still returning a successful reply
Also I am releasing a new model and would love for you to test it to see if you like it! It's a 4B model tuned for post processing :) lmk!
I foolishly bought a 48gb MBP M3 Max back in the day before I realized how valuable RAM would be, so unfortunately I've already got several things competing for my precious RAM. I'm willing to try it, and if it consistently works AND does a good job on my looser instructions that prescribe a little bit of "enhancement" vs raw "only-clean" I would use it.
Activity
altic-dev commentedon Jun 19, 2026
I think this is related to #277. Wanna take a look at that conversation and see what you think? Some models work better with the way 120b did not work is what I remember. Eitherway here to have a discussion to see what would be the best solution to this!
Also I am releasing a new model and would love for you to test it to see if you like it! It's a 4B model tuned for post processing :) lmk!
Fix system prompt placement in ContentView.processTextWithAI (altic-d…
adlnk commentedon Jul 14, 2026
I've also experienced this with Claude Opus 4.7 as the cleanup model. Got so bad I abandoned using a cleanup model entirely. Fixing system prompt placement would help, but some amount of tweaking of the prompt given to cleanup models might also be necessary.
kernkraft235 commentedon Aug 10, 2026
Yea it is addressing a similar issue, I think we just have different ideas on how to fix it. I think a combination of things can be done to reduce this failure mode, but exposing the system prompt and instruction prompt to be customized would probably be the most flexible, I'm willing to spend my time to find what works for my model choice. The main reason that I don't want to use another model is that gpt-oss-120b from cerebras outputs 1000+ tokens per second since it's basically running the model on an ASIC.
<raw_transcript> ... </raw_transcript>and user instructions with<instructions> ... </instructions>with instructions in the system prompt on what these mean.I foolishly bought a 48gb MBP M3 Max back in the day before I realized how valuable RAM would be, so unfortunately I've already got several things competing for my precious RAM. I'm willing to try it, and if it consistently works AND does a good job on my looser instructions that prescribe a little bit of "enhancement" vs raw "only-clean" I would use it.
altic-dev commentedon Aug 10, 2026
I am so down for you guys to play n figure out a good all rounder prompt! Fully down for exploration here or a minimal PR targetin this