Skip to main content

Allow Context Files to be sent other than all the time

Given that the current solution is context bloat for sending the context files, I would like to be able to mark each file as having a window for when it is sent with the prompt.  Here are the different ways I would want to be able to mark EACH file:

1) This file is sent only with the first X prompts.  After that it is ignored in the client.

2) This file is sent every X prompts to remind the AI of important data.

3) This file is sent after X prompt, but for no more than Y prompts.  This allows data to be inserted at a given span.

4) This file is sent for X prompts at the beginning (possibly zero) and then again any time the LLM returns a specific string match (for example, “[RESEND_FILES]” or some other trigger defined by the character).  This allows the System Prompt to define complex scenarios when the file would be sent.  This would be a simplified “agentic” model.

I think 4 is the most flexible, but also the hardest to code, though none of these would be particularly difficult.

Log in to comment and vote

No comments yet

Be the first to share your thoughts.