Issue with Accessing 'choices' Attribute from OpenAI API Response

No more red squiggle

Lol yep!

Thank you to everyone who pitched in, I really appreciate the help.

1 Like

Oh the red squiggle probably meant VSCode was seeing an outdated version of the API interfaces, and you fixed that with the reload.

2 Likes

AHHHHHHHHH good to know. LOL will keep that in mind next time.

Glad that solved the problem. Looks like some issue with the type checker.

2 Likes