Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openai_client as property and update notebook. #654

Merged
merged 10 commits into from
Nov 13, 2023
4 changes: 4 additions & 0 deletions autogen/agentchat/contrib/gpt_assistant_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,10 @@ def assistant_id(self):
"""Return the assistant id"""
return self._openai_assistant.id

@property
def openai_client(self):
return self._openai_client

def get_assistant_instructions(self):
"""Return the assistant instructions from OAI assistant API"""
return self._openai_assistant.instructions
Expand Down
55 changes: 40 additions & 15 deletions notebook/agentchat_oai_code_interpreter.ipynb

Large diffs are not rendered by default.

Loading