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
Show warning message when the most recent user input gets pruned
First, I integrated llm/compileChat to precompile chat messages before
invoking llm/streamChat. The llm/compileChat function returns both the
compiled messages and a boolean flag indicating whether the most
recent user input has been pruned. This allows us to trigger a warning
to notify users when pruning occurs at the last message.
The messageOptions is introduced to streamChat as an optional parameter.
If we pass messageOptions and the precompiled attribute is set to true,
streamChat will skip the process of compiling chat messages, ensuring
that the messages won't go through the pruning process twice.
Copy file name to clipboardExpand all lines: extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/MessageTypes.kt
0 commit comments