This solved the problem. I’m very grateful for your response and the response of others here.
The script I’m working on, by the way, is on the forum board here: My very simple GPT Assistant Walk-Thru
The problem I’m working on now is this:
openai.BadRequestError: Error code: 400 - {‘error’: {‘message’: “The requested model ‘gpt-4o’ cannot be used with the Assistants API in v1. Follow the migration guide to upgrade to v2: https://platform.openai.com/docs/assistants/migration.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘model’, ‘code’: ‘unsupported_model’}}
It’s caused by the fact that I changed the model spec to gpt-4o. Is there a way to deal with this and as well stick w’ v1 of the openai package?
Also, I noticed some indications from google that there exist tools for automatically converting scripts from v to v2. Is this true?