Re:GitHub Copilot X: The AI-powered developer experience
by muny on Wednesday March 22, 2023 @02:22PM
(#35265102)
What I normally do in cases like this is set up the necessary scaffolding for the solution. In your case, that could be introducing a variable named something like `access_token` for it to substitute into the URL.
Then, when you trigger a suggestion it's very likely that CoPilot will use your `access_token` variable.
The resulting code was pretty decent except it included a hard coded access_token in the url. This was a blank project, I don't even have an access token for this api - guessing someone posted theirs in a public repo at some point.
Is there a way to talk to copilot at this point to refine the code?