Update transcrip.
This commit is contained in:
parent
0b61e1c0cf
commit
bdd9ad0c5a
@ -405,6 +405,7 @@ class Agent:
|
||||
response = event_handler.message
|
||||
log.debug(f"Received response: {response} from assistant {self.assistant.id} in thread {self.thread.id}.")
|
||||
log.debug(f"Result of communicate (last returned message): {response} from assistant {self.assistant.id} in thread {self.thread.id}.")
|
||||
self.transcript.append(dict(role="assistant", content=response))
|
||||
return response
|
||||
except openai.APIError as ex:
|
||||
log.error(f"Error: {ex}")
|
||||
|
Loading…
Reference in New Issue
Block a user