Skip to content

Commit 6d621a9

Browse files
LeoLjlsonichiqingyun-wu
authored
Add openai_client as property and update notebook. (#654)
* Initial commit * Add code interpreter notebook. * Update code interpreter notebook. * Update notebook. * Update agentchat_oai_code_interpreter.ipynb * Update agentchat_oai_code_interpreter.ipynb * Add openai_client as property. --------- Co-authored-by: Chi Wang <[email protected]> Co-authored-by: Qingyun Wu <[email protected]>
1 parent 991d206 commit 6d621a9

File tree

2 files changed

+44
-15
lines changed

2 files changed

+44
-15
lines changed

autogen/agentchat/contrib/gpt_assistant_agent.py

+4
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,10 @@ def assistant_id(self):
341341
"""Return the assistant id"""
342342
return self._openai_assistant.id
343343

344+
@property
345+
def openai_client(self):
346+
return self._openai_client
347+
344348
def get_assistant_instructions(self):
345349
"""Return the assistant instructions from OAI assistant API"""
346350
return self._openai_assistant.instructions

notebook/agentchat_oai_code_interpreter.ipynb

+40-15
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)