Bug report in API docs for create chat endpoint

gm, how’s it going.
just wanted to report that the sample code for o1 will not work because it sets a system role in the request which o1 doesn’t support…
https://platform.openai.com/docs/api-reference/chat/create

Wanted to report this since this might be offputting some users trying API for the first time.

3 Likes

also someone might waste credits before they figure out the issue…

1 Like

Welcome to the forum :wave:

That’s documented here:

https://platform.openai.com/docs/guides/reasoning/quickstart

The o1 series is in beta preview and not feature complete (although technically that’s an alpha phase? :sweat_smile: )

But yeah, might be good for them to have a one liner in the API docs that links back to the above.

2 Likes

:wave: ty for the welcome.
yes i was aware of that but still tried setting system role upon seeing the docs wondering if this had been added without updating docs elsewhere . :sweat_smile:

4 Likes