Skip to content

Commit 81fc749

Browse files
authored
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
1 parent fb22f78 commit 81fc749

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autogen/agentchat/contrib/gpt_assistant_agent.py

+2
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ def __init__(
145145
self._openai_threads = {}
146146
self._unread_index = defaultdict(int)
147147
self.register_reply(Agent, GPTAssistantAgent._invoke_assistant)
148+
self.register_reply(Agent, GPTAssistantAgent.check_termination_and_human_reply)
149+
self.register_reply(Agent, GPTAssistantAgent.a_check_termination_and_human_reply)
148150

149151
def _invoke_assistant(
150152
self,

0 commit comments

Comments
 (0)