mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
add GPTAssistantAgent is_termination_msg valid (#1642)
* add GPTAssistantAgent is_termination_msg valid * make is_termination_msg in GPTAssistantAgent valid and reformatted * to pass the black format test
This commit is contained in:
@@ -145,6 +145,8 @@ class GPTAssistantAgent(ConversableAgent):
|
||||
self._openai_threads = {}
|
||||
self._unread_index = defaultdict(int)
|
||||
self.register_reply(Agent, GPTAssistantAgent._invoke_assistant)
|
||||
self.register_reply(Agent, GPTAssistantAgent.check_termination_and_human_reply)
|
||||
self.register_reply(Agent, GPTAssistantAgent.a_check_termination_and_human_reply)
|
||||
|
||||
def _invoke_assistant(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user