diff --git a/.gitignore b/.gitignore
index 7f1a909..eca2080 100755
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@ lib/
dist/
out/
build/
+coverage/
# IDE files
.idea/
diff --git a/coverage/lcov-report/chat-view.ts.html b/coverage/lcov-report/chat-view.ts.html
index 1ad901d..af9ceaa 100644
--- a/coverage/lcov-report/chat-view.ts.html
+++ b/coverage/lcov-report/chat-view.ts.html
@@ -23,9 +23,9 @@
- 92.52%
+ 92.55%
Statements
- 198/214
+ 199/215
@@ -44,9 +44,9 @@
- 94.5%
+ 94.52%
Lines
- 189/200
+ 190/201
@@ -628,7 +628,7 @@
-
+
3x
3x
3x
3x
@@ -1105,7 +1105,7 @@ export class ChatView extends ItemView {
}
onClose(): Promise<void> {
- // Removed cancelStream call as we now use local controllers
+ this.ollamaClient.cancelStream();
this.removeEventListeners();
this.cleanupStreamingResources();
this.lastMessageEl = null;
@@ -1501,7 +1501,7 @@ export class ChatView extends ItemView {