mirror of
https://github.com/aaif-goose/goose.git
synced 2026-06-02 06:14:27 +02:00
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]]
|
||||
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user