about --keep N #2289
Replies: 3 comments
-
I’d like to know too. If it is supposed to keep a static context throughout the entire session, it’s definitely not working. I was under the impression that will keep the initial prompt in context at all times. But, during my testing, it definitely drops it. |
Beta Was this translation helpful? Give feedback.
-
Here is how it is supposed to work: The initial/original prompt is supplied with the -p parameter when you start the session. |
Beta Was this translation helpful? Give feedback.
-
so there still remains the question why it doesn't seem to work? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm still confused about the
--keep
flag, as i mentioned in #46.Always when
--keep N
is mentioned, it is statedTo me, this sounds exactly like what I would expect from a "system" message:
The
initial
prompt, the very first prompt of the conversation, should always remain in context. This is how I understand this line.In my attempts I always had the impression that this does not work and that the
initial
prompt always disappears from the context.For clarification:
Is it rather the case that
--keep
merely controls that in a concrete answer the user's previously requested prompt remains in the context (to the selected portion)? (And in contrast to the ìnitial`, i.e. the very first prompt?)While older parts of the context are nevertheless pushed out?
Such a setting makes sense, too, of course - also and especially together with a system prompt that does not disappear from the context even in a longer conversation.
Beta Was this translation helpful? Give feedback.
All reactions