feat: tiny change so you know what processing is doing (#196)
This commit is contained in:
@@ -208,8 +208,9 @@ class Session:
|
|||||||
committed = [self.exchange.messages[-1]]
|
committed = [self.exchange.messages[-1]]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.status_indicator.update("responding")
|
self.status_indicator.update("processing request")
|
||||||
response = self.exchange.generate()
|
response = self.exchange.generate()
|
||||||
|
self.status_indicator.update("got response, processing")
|
||||||
committed.append(response)
|
committed.append(response)
|
||||||
|
|
||||||
if response.text:
|
if response.text:
|
||||||
@@ -223,7 +224,7 @@ class Session:
|
|||||||
message = Message(role="user", content=content)
|
message = Message(role="user", content=content)
|
||||||
committed.append(message)
|
committed.append(message)
|
||||||
self.exchange.add(message)
|
self.exchange.add(message)
|
||||||
self.status_indicator.update("responding")
|
self.status_indicator.update("processing tool results")
|
||||||
response = self.exchange.generate()
|
response = self.exchange.generate()
|
||||||
committed.append(response)
|
committed.append(response)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user