Skip to content

Instantly share code, notes, and snippets.

@lazuee
Created May 9, 2026 04:15
Show Gist options
  • Select an option

  • Save lazuee/4793283cfd2231e75014e13b1b4a633c to your computer and use it in GitHub Desktop.

Select an option

Save lazuee/4793283cfd2231e75014e13b1b4a633c to your computer and use it in GitHub Desktop.
AI Foundry Model for Copilot CLI
export COPILOT_PROVIDER_TYPE="azure"
export COPILOT_PROVIDER_WIRE_API="responses"
# Azure OpenAI endpoint
export COPILOT_PROVIDER_BASE_URL="https://lazuee-agent.openai.azure.com/"
export COPILOT_PROVIDER_API_KEY=""
export COPILOT_PROVIDER_MAX_PROMPT_TOKENS="272000"
export COPILOT_PROVIDER_MAX_OUTPUT_TOKENS="128000"
# Model Name
export COPILOT_MODEL="gpt-5.3-codex-1"
@lazuee
Copy link
Copy Markdown
Author

lazuee commented May 9, 2026

Change the COPILOT_PROVIDER_BASE_URL and COPILOT_PROVIDER_API_KEY value.

Untitled

Deploy your Model, after get your model name and change the COPILOT_MODEL value.

Untitled1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment