-
Notifications
You must be signed in to change notification settings - Fork 348
Expand file tree
/
Copy pathgithub-copilot.yaml
More file actions
28 lines (25 loc) · 1005 Bytes
/
github-copilot.yaml
File metadata and controls
28 lines (25 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env docker agent run
# 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`.
#
# See https://github.com/docker/docker-agent/issues/2471
agents:
root:
model: github-copilot/gpt-4o
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-4o:
provider: github-copilot
model: gpt-4o
# 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