mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 18:30:09 +00:00
models.dev removed gpt-4.1 from the github-copilot provider. Update examples/github-copilot.yaml to use gpt-5.5 (a currently-available Copilot model) so the snapshot refresh in this PR doesn't break TestParseExamples. Fixes: TestParseExamples/../../examples/github-copilot.yaml
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
# GitHub Copilot requires a `Copilot-Integration-Id` header on every request
|
|
# to https://api.githubcopilot.com. docker-agent sends `copilot-developer-cli`
|
|
# automatically (it works with both OAuth tokens and Personal Access Tokens),
|
|
# but you can override it (or add any other custom header) via
|
|
# `provider_opts.http_headers`.
|
|
#
|
|
# Newer Copilot models (gpt-5, Codex, ...) are only served via the Responses
|
|
# API; docker-agent auto-selects the right endpoint per model, so no extra
|
|
# config is needed. You can still force it with `provider_opts.api_type`.
|
|
#
|
|
# See https://github.com/docker/docker-agent/issues/2471
|
|
# https://github.com/docker/docker-agent/issues/2885
|
|
|
|
agents:
|
|
root:
|
|
model: github-copilot/gpt-5.5
|
|
description: A helpful AI assistant powered by GitHub Copilot
|
|
instruction: |
|
|
You are a helpful AI assistant.
|
|
Be helpful, accurate, and concise in your responses.
|
|
|
|
models:
|
|
github-copilot/gpt-5.5:
|
|
provider: github-copilot
|
|
model: gpt-5.5
|
|
# Optional: override the default Copilot-Integration-Id header or add
|
|
# any other custom HTTP headers. Header names are matched
|
|
# case-insensitively against the default.
|
|
# provider_opts:
|
|
# http_headers:
|
|
# Copilot-Integration-Id: vscode-chat
|