Skip to content
New issue

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

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

Already on GitHub? # to your account

Programmatically define assistant_id instead of hard coding its value in run_assistant function #1

Open
MrJarnould opened this issue Dec 4, 2023 · 1 comment

Comments

@MrJarnould
Copy link

The code in assistants_quickstart.py will fail to run unless you programmatically define the assistant_id.

i.e. line 94 goes from this:
assistant = client.beta.assistants.retrieve("asst_7Wx2nQwoPWSf710jrdWTDlfE")

to this:
assistant = client.beta.assistants.retrieve(assistant.id)

@Nagiseishiro773
Copy link

Cool

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants