python-whatsapp-bot icon indicating copy to clipboard operation
python-whatsapp-bot copied to clipboard

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

Open MrJarnould opened this issue 2 years ago • 1 comments

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)

MrJarnould avatar Dec 04 '23 21:12 MrJarnould

Cool

Nagiseishiro773 avatar Nov 24 '24 05:11 Nagiseishiro773