Skip to content

Commit a608a94

Browse files
committed
fix: ignore messageType
1 parent 0428ca8 commit a608a94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ms_copilot_module.py

+4
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ async def async_ask_stream_():
177177
if author is None or author != "bot":
178178
continue
179179

180+
# Ignore internal messages
181+
if message.get("messageType") is not None:
182+
continue
183+
180184
# Text response
181185
text = message.get("text")
182186
if text:

0 commit comments

Comments
 (0)