feat: tiny change so you know what processing is doing (#196)

This commit is contained in:
Michael Neale
2024-10-26 10:35:59 +11:00
committed by GitHub
parent 297de042da
commit 6755c6db95
+3 -2
View File
@@ -208,8 +208,9 @@ class Session:
committed = [self.exchange.messages[-1]]
try:
self.status_indicator.update("responding")
self.status_indicator.update("processing request")
response = self.exchange.generate()
self.status_indicator.update("got response, processing")
committed.append(response)
if response.text:
@@ -223,7 +224,7 @@ class Session:
message = Message(role="user", content=content)
committed.append(message)
self.exchange.add(message)
self.status_indicator.update("responding")
self.status_indicator.update("processing tool results")
response = self.exchange.generate()
committed.append(response)