This is demo instance of GitHub Copilot ➜ OpenAI API transforming proxy!
Running serverless on Cloudflare.

You can try it with:

curl https://copilot.publicaffairs.workers.dev/v1/chat/completions \
  -H "Authorization: Bearer $YOUR_GITHUB_COPILOT_ACCESS_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
      "model": "gpt-4",
      "messages": [{"role": "user", "content": "Hello"}],
      "temperature": 0.7
      }'

Please deploy your own instance, for free!
This way, you can keep your access token secure.