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 1 year ago • 0 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