cli/pkg/cmd/agent-task
Kynan Ware 78b958f9ae
fix(agent-task): resolve Copilot API URL dynamically (#12956)
* fix(agent-task): resolve Copilot API URL dynamically

Query viewer.copilotEndpoints.api to get the correct Copilot API URL
for the user's host instead of hardcoding api.githubcopilot.com. This
fixes 401 errors for ghe.com tenancy users whose Copilot API lives at
a different endpoint.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-18 18:14:02 +00:00
..
capi fix(agent-task): resolve Copilot API URL dynamically (#12956) 2026-03-18 18:14:02 +00:00
create Add example for --custom-agent usage 2025-10-31 16:18:10 -06:00
list Polish --json support for agent-task list 2026-03-01 09:08:18 -06:00
shared fix(agent-task): resolve Copilot API URL dynamically (#12956) 2026-03-18 18:14:02 +00:00
view Address Copilot review feedback 2026-03-01 10:18:21 -06:00
agent_task.go docs(agent-task): use heredoc.Doc 2025-09-18 10:48:53 +01:00
agent_task_test.go Refactor agent task tests into table-driven format 2025-08-27 17:20:45 -06:00