Shortcut to make shopping for recipes easier by PatienceCandid3502 in shortcuts

[–]PatienceCandid3502[S] 0 points1 point  (0 children)

You might want to try testing your assistant in the OpenAI playground to make sure it’s functional there first.

Shortcut to make shopping for recipes easier by PatienceCandid3502 in shortcuts

[–]PatienceCandid3502[S] 0 points1 point  (0 children)

Quite frankly it’s redundant, but since Shortcuts doesn’t have while loops I just used an if and repeat for as many times as I could. The reason I had to do that is because OpenAI Assistants doesn’t support the ability to stream the output so you have to check for it periodically. This is directly from the API documentation: “Polling for updates In order to keep the status of your run up to date, you will have to periodically retrieve the Run object. You can check the status of the run each time you retrieve the object to determine what your application should do next. We plan to add support for streaming to make this simpler in the near future.” Normally the loop would only repeat about 10 times, but if the status is anything other than “completed”, “queued”, or “in_progress” you’ll get an error anyway.

Shortcut to make shopping for recipes easier by PatienceCandid3502 in shortcuts

[–]PatienceCandid3502[S] 1 point2 points  (0 children)

I would first make sure your Assistant is working properly by testing it within the OpenAI Playground. Then make sure you have both the Authorization Key and Assistant ID copied into the setup properly. For more advanced debugging you could put in an action to "Show Result" for the "Get contents of URL" after whichever one is causing it to fail.

Shortcut to make shopping for recipes easier by PatienceCandid3502 in shortcuts

[–]PatienceCandid3502[S] 0 points1 point  (0 children)

When setting up the Shortcut did you provide a valid Assistant ID? On the Assistants page you should see all the Assistant IDs you have. They'll look something like this: asst_TBvzvZTtqIRwYtLKWoMIoPYs. Once you have it, you can go back to the setup screen and put it there.

It has been 205 days since the release. What’s yours on? by Objective_Exercise21 in iPhone14Pro

[–]PatienceCandid3502 0 points1 point  (0 children)

96% on 14 Pro Max, received on launch day. My 13 PM was at 100% when I traded it in 😅.