Bug- copy page- always copies only first page variation, does not copy chat completions

there are two variations
chat competitions page -https://platform.openai.com/docs/quickstart?api-mode=chat
responses page - https://platform.openai.com/docs/quickstart?api-mode=responses

if I am on the chat competitions page when I click: copy page - button it always copies “responses” variation anyway.
it is unable to copy chat competitions at all.

no matter what page is selected in the select box at top.

1 Like

Can confirm unexpected behavior. I followed the “chat” quickstart link above, and always get chat completions code even after changing the upper-right selector to “Responses”. Here’s a link with Python preference included

Quickstart: https://platform.openai.com/docs/quickstart?api-mode=chat&lang=python

The situation is reversed if following the “responses” link.

Firefox/Windows10 desktop.

The individual code box “copy” does return the displayed code, though.