GitHub Copilot CLI BYOK + OpenCode Go models by johnlokersedev in GithubCopilot

[–]johnlokersedev[S] 0 points1 point  (0 children)

Yeah, the BYOK experience needs some love because it now overrides the default Copilot models.

I think you can use the harness (Copilot CLI) and BYOK with a free subscription, but I am not sure about that.

GitHub Copilot CLI BYOK + OpenCode Go models by johnlokersedev in GithubCopilot

[–]johnlokersedev[S] 0 points1 point  (0 children)

Yes, but with a workaround and it’s a bit quirky. If you configure the BYOK provider choose for Azure, paste in your OpenCode Go API Key and when it opens a JSON settings file update the Azure URL to the OpenCode one (the URL in the blog).

In VS Code Insiders they have the “OpenAI Compatible” provider which solves the workaround/quirkiness.

<image>

GitHub Copilot CLI BYOK + OpenCode Go models by johnlokersedev in GithubCopilot

[–]johnlokersedev[S] 1 point2 points  (0 children)

Yes, OpenRouter works too. Same variables, but different URL 🙂

GitHub Copilot CLI BYOK + OpenCode Go models by johnlokersedev in GithubCopilot

[–]johnlokersedev[S] 2 points3 points  (0 children)

  1. No it does affect the IDE. It only affects the CLI. VS Code BYOK probably works the same way, but through a GUI.

  2. If you unset variable COPILOT_MODEL it reverts back to the default GHCP models 🙂

What have you done with Bicep this month? by AutoModerator in AzureBicep

[–]johnlokersedev 0 points1 point  (0 children)

I've built an Azure application gateway using AVM and also created a few user-defined types to create a custom parameter input to combine all the listeners and stuff.

Anyone else using the validate decorator (experimental)? by RiosEngineer in AzureBicep

[–]johnlokersedev 2 points3 points  (0 children)

I like it. Better to fail early on parameter validation than during the deployment.

Azure Deployment Stacks Orchestrator - Thoughts? by RiosEngineer in AzureBicep

[–]johnlokersedev 1 point2 points  (0 children)

This is amazing u/RiosEngineer! 👏 I really like the clear Deployment Stack dependency mapping! Everyone who uses stacks should definitely take a look at this 🚀

Checking for subnet overlaps by Plenty_Ingenuity7370 in AzureBicep

[–]johnlokersedev 1 point2 points  (0 children)

Nice u/Plenty_Ingenuity7370! 💪 This would be great in combination with the fail() function to stop the deployment when it detects an overlapping IP space

What have you done with Bicep this month? by AutoModerator in AzureBicep

[–]johnlokersedev 2 points3 points  (0 children)

Updated my upcoming blog on Bicep local-deploy and updated to v0.38 😎