We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01bedd6 commit 06598a1Copy full SHA for 06598a1
core/src/main/kotlin/cc/unitmesh/devti/observer/agent/AgentState.kt
@@ -25,10 +25,14 @@ class AgentStateService {
25
26
}
27
28
- fun addChanges(val fileName: String) {
+ fun addChanges(fileName: String) {
29
// todo changeList.add()
30
31
32
+ fun resetMessages() {
33
+ state.messages = emptyList()
34
+ }
35
+
36
/**
37
* Call some LLM to compress it or use some other method to compress the history
38
*/
0 commit comments