Open alexeydovolny opened 1 week ago
I have confirmed this issue -- I will need to upgrade this library to work with Assistants API V2.
I'll leave this ticket open until this work is complete. Meanwhile the workaround it is to use an older model such as gpt-4-turbo
which will work with Assistants API V1.
Undefined array key "status" in
while($runresp['status'] != "completed") {}
The request cannot be executed
$runresp = $runservice->create($threadid, GPT_ASSIST);
{"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"}}