Skip to content

Comments

Enable LLM gateway support for Copilot engine#16485

Merged
pelikhan merged 4 commits intomainfrom
copilot/enable-llm-gateway-support
Feb 18, 2026
Merged

Enable LLM gateway support for Copilot engine#16485
pelikhan merged 4 commits intomainfrom
copilot/enable-llm-gateway-support

Conversation

Copy link
Contributor

Copilot AI commented Feb 18, 2026

The Copilot engine was not emitting the --enable-api-proxy flag in AWF commands despite SupportsLLMGateway() returning port 10002.

Changes

  • pkg/workflow/copilot_engine_execution.go: Changed UsesAPIProxy from hardcoded false to dynamic check based on SupportsLLMGateway() > 0, matching Claude and Codex pattern
  • pkg/workflow/enable_api_proxy_test.go: Updated test to expect flag presence
  • Workflow files: Recompiled 103 .lock.yml files with updated AWF configuration

Implementation

Before:

UsesAPIProxy: false, // Copilot doesn't use LLM gateway

After:

llmGatewayPort := e.SupportsLLMGateway()
usesAPIProxy := llmGatewayPort > 0
// ...
UsesAPIProxy: usesAPIProxy,

Result:

sudo -E awf ... --enable-api-proxy \
  -- /bin/bash -c '/usr/local/bin/copilot ...'

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw -trimpath 0/x64/lib/node_mrun git rev-�� --show-toplevel /opt/hostedtoolc--write ache/node/24.13.0/x64/bin/node -unreachable=falgit /tmp/go-build434rev-parse /sh ache/node/24.13.0/x64/bin/node (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw -buildtags sh git rev-�� --show-toplevel sh /usr/bin/git '**/*.ts' '**/*.sh -tests 0/x64/bin/npm git (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha "prettier" --write '**/*.cjs' '**/*.ts' '**/*.json' --ignore-patremote.origin.url 64/pkg/tool/linux_amd64/vet 0/x64/bin/node get --local ache/go/1.25.0/x--show-toplevel node t-ha�� ithub/workflows/agent-performance-analyzer.md --write 721840/b403/vet.cfg !../../../pkg/wogit --ignore-path ../../../.pretti--show-toplevel /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/compile (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v2 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git 55/001/test-froninfocmp aajfSZj/cVJldnHV-1 tartedAt,updatedxterm-color git ache�� --show-toplevel head /usr/bin/git 4128-14355/test-git x_amd64/vet cfg git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v2 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git 55/001/test-frongit x_amd64/vet k/gh-aw/node_mod/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git rev-�� --show-toplevel infocmp /usr/bin/git te '**/*.cjs' '*git x_amd64/vet cfg git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/11bd71901bbe5b1630ceea73d27597364c9af683
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/11bd71901bbe5b1630ceea73d27597364c9af683 --jq .object.sha --show-toplevel x_amd64/link /usr/bin/git --noprofile x_amd64/vet k/gh-aw/node_mod/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git rev-�� nner/work/gh-aw/remote.origin.url H5/B3jFDlCLvmLjTRaLwacw/9A3hOJJAdQTrqtkOD-DA e/git 4128-14355/test-infocmp x_amd64/vet cfg e/git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha _.a x_amd64/vet bin/sh tants.go ole x_amd64/vet bash --no�� VAyE7WnBC x_amd64/vet k/gh-aw/gh-aw/actions/node_modules/.bin/sh _.a (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha _.a 64/pkg/tool/linux_amd64/vet 0/x64/bin/node ./../.prettieriggit cfg 64/pkg/tool/linu--show-toplevel sh t-ha�� SameOutput1343209800/001/stability-test.md 64/pkg/tool/linux_amd64/vet 721840/b274/vet.cfg om/santhosh-tekugit --global de/node/bin/bash--show-toplevel sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha bot-detection.md 64/pkg/tool/linux_amd64/vet ache/go/1.25.0/x64/pkg/tool/linux_amd64/link ./../.prettieriggit cfg 64/pkg/tool/linu--show-toplevel ache/go/1.25.0/x64/pkg/tool/linux_amd64/link /opt�� xbEtErTH5 --write 721840/b401/importcfg.link **/*.ts **/*.json --ignore-path wmvwlVjEnf88q/rlg_4reGrU6lgaN24-vo/9kfMsjtzGOFIi-tests (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha --show-toplevel /tmp/go-build570721840/b401/_testmain.go /usr/bin/git js/**/*.json' --git /tmp/go-build434rev-parse ache/go/1.25.0/x--show-toplevel git rev-�� --git-dir ache/go/1.25.0/x-tests /usr/bin/git -bool -buildtags k/_temp/ghcca-no--show-toplevel git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha 1837766064/.github/workflows --write tnet/tools/git **/*.ts **/*.json --ignore-path sh -c */*.json' '!../../../pkg/workflow/js/**/*.json' --ignore-path x_amd64/compile x_amd64/compile tierignore (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --write l /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/link --ignore-path ../../../.prettirev-parse cfg /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/link -o t t /usr/bin/git -s -w -buildmode=exe git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha -bool om/owner/repo.git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha --show-toplevel bash /usr/bin/git --noprofile x_amd64/vet 64/pkg/tool/linu/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git rite '**/*.cjs' /usr/bin/unpigz --jq in/node git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha --show-toplevel gh /usr/bin/git te '**/*.cjs' '*git --jq cfg git rev-�� tch sh /usr/bin/git git status --porgh on 0/x64/bin/node git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha --show-toplevel git /usr/bin/git 9800/001/stabili/usr/bin/gh rev-parse k/gh-aw/gh-aw/nographql git 40\}�� tch rtcfg /usr/bin/git ternal/tools/actgit 64/pkg/tool/linu-C ache/go/1.25.0/x/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v7
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha --show-toplevel x_amd64/vet /usr/bin/git tmatter-with-nesgit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha --show-toplevel x_amd64/vet /usr/bin/git --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha --show-toplevel git /usr/bin/git 4128-14355/test-/usr/bin/gh x_amd64/vet cfg git rev-�� --show-toplevel sh /usr/bin/git git status --porgit 64/pkg/tool/linu-C ache/go/1.25.0/x/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha se 321437/b220/vet.cfg ache/go/1.25.0/x64/pkg/tool/linu-lang=go1.15 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha ormat:cjs 321437/b069/vet.--ignore-path /opt/hostedtoolc../../../.prettierignore -p github.com/henvi-c -lang=go1.22 /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet ue -�� re -buildtags p/bin/bash -errorsas all("session") a-atomic -nilfunc /opt/hostedtoolc-buildtags (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha ath ../../../.pr**/*.json -trimpath /opt/hostedtoolc../../../.prettierignore lign.go nsi_unix.go -lang=go1.17 /opt/hostedtoolc!../../../pkg/workflow/js/**/*.json er _handler=\(.*\)$../../../.prettierignore -buildtags 64/pkg/tool/linux_amd64/compile -errorsas -ifaceassert -nilfunc 64/pkg/tool/linutest@example.com (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/4dc6199c7b1a012772edbd06daecab0f50c9053c
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/4dc6199c7b1a012772edbd06daecab0f50c9053c --jq .object.sha --show-toplevel infocmp /usr/bin/git te '**/*.cjs' '*git x_amd64/vet cfg git rev-�� --show-toplevel bash gin/feature-branch agent-persona-ex/usr/bin/unpigz 64/pkg/tool/linu-d ache/go/1.25.0/x-c git (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha auto-triage-issues.md 64/pkg/tool/linux_amd64/vet /usr/bin/sh ./../.prettieriggit cfg x_amd64/link sh -c 4128-14355/test-4152440212 x_amd64/link 721840/b292/vet.cfg data/action_pinsgit --global ache/go/1.25.0/x--show-toplevel sh (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha --show-toplevel sh /usr/bin/git */*.json' '!../.git zation_test.go 64/pkg/tool/linu/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git rev-�� etup-node/git/ref/tags/v4 64/pkg/tool/linux_amd64/vet /usr/bin/git ced successfullygit x_amd64/vet h git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha --show-toplevel sh /usr/bin/git */*.json' '!../.git x_amd64/compile x_amd64/link git sup ithub-script/git/ref/tags/v8 x_amd64/link /usr/bin/git --noprofile x_amd64/vet k/gh-aw/gh-aw/ac/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha -v bash /usr/bin/git --noprofile on 64/bin/go git rev-�� --show-toplevel make /usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha --get-regexp ^remote\..*\.gh-resolved$ /usr/bin/git ormatted successgit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha xterm-color bash /usr/bin/git --noprofile (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha husky tmain.go /usr/local/bin/sh ./../.prettieriggit cfg x_amd64/link sh -c npx prettier --write '**/*.cjs' '**/*.ts' '**/*.json' --ignore-path ../../../.prettierignore x_amd64/link 721840/b286/vet.cfg om/charmbraceletgit --global ache/go/1.25.0/x--show-toplevel sh (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha xterm-color /usr/lib/git-core/git /usr/bin/git --all-progress-igit on ache/go/1.25.0/x--show-toplevel git rev-�� --show-toplevel ache/go/1.25.0/x64/pkg/tool/linu-tests /usr/bin/git 2472123/b001/exegit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha --get-regexp ^remote\..*\.gh-resolved$ /usr/bin/git build_command.gogit build_command_terev-parse x_amd64/compile git rev-�� --show-toplevel x_amd64/compile /usr/bin/git files..." pkg/workflow/domcat-file ls git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha --get-regexp ^remote\..*\.gh-resolved$ /usr/bin/git --noprofile (http block)
  • https://api.github.com/repos/anchore/sbom-action/git/ref/tags/v0
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha --show-toplevel bash /usr/bin/git 8vjQJ0tF5 x_amd64/vet ache/node/24.13.graphql git rev-�� --show-toplevel git /usr/bin/git -v tmain.go ache/go/1.25.0/x/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha --show-toplevel bash me: String!) { repository(owne168.63.129.16 te '**/*.cjs' '*git x_amd64/vet cfg e/git rev-�� --show-toplevel git /usr/bin/git -v origin ngutil.test git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha --show-toplevel sF/788KaSlanoh1QIKEP8dB/iAJz33n4-extld=gcc /usr/bin/git lIaN9cQpE x_amd64/vet es/.bin/sh git rev-�� --show-toplevel (http block)
  • https://api.github.com/repos/docker/build-push-action/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha i-inference/git/ref/tags/v1 64/pkg/tool/linux_amd64/vet /usr/bin/git te '**/*.cjs' '*/usr/bin/gh x_amd64/vet cfg git rev-�� --show-toplevel (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha --show-toplevel bash /usr/bin/git te '**/*.cjs' '*git x_amd64/vet k/node_modules/./home/REDACTED/work/gh-aw/gh-aw/.github/workflows git rev-�� to pkg/workflow/data/action_pins.json..." git /usr/bin/git te '../../../**//usr/bin/unpigz origin 0/x64/bin/node git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha --show-toplevel git /usr/bin/git 4128-14355/test-/usr/bin/gh remote.origin.urapi cfg git rev-�� " -o gh-aw ./cmd-f 'origin' /usr/bin/git te '../../../**/docker 64/pkg/tool/linuimage ache/go/1.25.0/xinspect git (http block)
  • https://api.github.com/repos/docker/login-action/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq .object.sha --show-toplevel bash /usr/bin/git 9800/001/stabiligit x_amd64/vet k/gh-aw/gh-aw/ac/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git rev-�� --show-toplevel rtcfg /usr/bin/git agent-performancdocker origin ache/go/1.25.0/xinspect git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq .object.sha --show-toplevel x_amd64/vet /usr/bin/git wyvWSVN2l x_amd64/vet ache/node/24.13.graphql git rev-�� tch bash /usr/bin/git te '../../../**//usr/bin/unpigz tmain.go 64/pkg/tool/linu-c git (http block)
  • https://api.github.com/repos/docker/metadata-action/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v5 --jq .object.sha --show-toplevel bash /usr/bin/git 4128-14355/test-/usr/bin/gh x_amd64/vet cfg git runs�� --show-toplevel git /usr/bin/git te '../../../**/docker origin 64/pkg/tool/linumcp/memory git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v5 --jq .object.sha --show-toplevel cat /usr/bin/git 4128-14355/test-git x_amd64/vet es/.bin/sh git rev-�� --show-toplevel /usr/lib/git-core/git /usr/bin/git te '../../../**//usr/bin/unpigz REDACTED (http block)
  • https://api.github.com/repos/docker/setup-buildx-action/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha --show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha --show-toplevel bash /usr/bin/git 4128-14355/test-/usr/bin/gh x_amd64/vet k/gh-aw/gh-aw/acgraphql git rev-�� --show-toplevel rtcfg /usr/bin/git om/aymanbagabas/git om/aymanbagabas/-C ache/go/1.25.0/x/home/REDACTED/work/gh-aw/gh-aw/.github/workflows git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha --show-toplevel git /usr/bin/git te '**/*.cjs' '*git config cfg git rev-�� --show-toplevel bash /usr/bin/git te '../../../**//usr/bin/unpigz 64/pkg/tool/linu-d ache/go/1.25.0/x-c git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 on x_amd64/link (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 --auto 64/pkg/tool/linux_amd64/compile --detach (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 Enable LLM gateway support for C-ifaceassert 64/bin/go ACCEPT (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 on x_amd64/vet /../../.prettiergit erignore (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 on x_amd64/link /../../.prettier/opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet erignore (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 on x_amd64/vet /../../.prettiergit erignore (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 on ache/go/1.25.0/x64/pkg/tool/linux_amd64/compile /../../.prettiergit erignore (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path se 321437/b229/vet.cfg ache/node/24.13.0/x64/bin/bash (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 github.com/charm-atomic -lang=go1.24 /opt/hostedtoolc-buildtags -uns�� js/**/*.json' ---errorsas /tmp/go-build434-ifaceassert /opt/hostedtoolc-nilfunc -c=4 -nolocalimports -importcfg /opt/hostedtoolcrev-parse (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/c4e091835c7a94dc7d3acb8ed3ae145afb4995f3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/c4e091835c7a94dc7d3acb8ed3ae145afb4995f3 --jq .object.sha --show-toplevel sh /usr/bin/git ty-test.md x_amd64/compile tions/setup/nodetsup git rev-�� --show-toplevel sh /usr/bin/gh e-analyzer.md x_amd64/vet 64/pkg/tool/linu(create|run) gh (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha (http block)
  • https://api.github.com/repos/githubnext/agentics/git/ref/tags/-
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/agentics/git/ref/tags/- --jq .object.sha --show-toplevel utput" ]; then \ echo "Code is not formatted. h */*.json' '!.././usr/bin/gh x_amd64/vet 64/pkg/tool/linugraphql git rev-�� --show-toplevel 64/pkg/tool/linuowner=github /usr/bin/git _.a x_amd64/vet bin/node git (http block)
  • https://api.github.com/repos/nonexistent/repo/actions/runs/12345
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion -test.run=TestAWnode (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo h (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo (http block)
  • https://api.github.com/repos/owner/repo/contents/file.md
    • Triggering command: /tmp/go-build570721840/b368/cli.test /tmp/go-build570721840/b368/cli.test -test.testlogfile=/tmp/go-build570721840/b368/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true (http block)
  • https://api.github.com/repos/test-owner/test-repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name se 321437/b225/vet.cfg bin/node (http block)
  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login 0/internal/catmsg/catmsg.go 0/internal/catmsg/codec.go 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login .json..." (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Changeset

  • Type: patch
  • Description: Emit --enable-api-proxy for the Copilot engine when its LLM gateway port is available, keeping AWF CLI behavior aligned with other engines.

Generated by Changeset Generator



✨ PR Review Safe Output Test - Run 22121865182

💥 [THE END] — Illustrated by Smoke Claude

Copilot AI and others added 2 commits February 18, 2026 00:39
- Update copilot_engine_execution.go to dynamically check if LLM gateway is supported
- Set UsesAPIProxy based on SupportsLLMGateway() return value
- Update test to expect --enable-api-proxy flag in Copilot AWF commands
- Align Copilot behavior with Claude and Codex engines

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- All copilot engine workflows now include --enable-api-proxy flag
- 103 lock files updated with new AWF configuration
- Verified flag is present in compiled workflows
- All tests passing

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add LLMGateway support and API proxy flag Enable LLM gateway support for Copilot engine Feb 18, 2026
Copilot AI requested a review from pelikhan February 18, 2026 00:47
@pelikhan pelikhan added the smoke label Feb 18, 2026
@github-actions
Copy link
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

Smoke Copilot SDK failed. Please review the logs for details.

@github-actions
Copy link
Contributor

🧪 Smoke Project is now testing project operations...

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

🎬 THE ENDSmoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨

@github-actions
Copy link
Contributor

🧪 Smoke Temporary ID is now testing temporary ID functionality...

@github-actions
Copy link
Contributor

Smoke Temporary ID completed successfully. Temporary ID validation passed.

@github-actions
Copy link
Contributor

Agent Container Tool Check ✅

Tool Status Version
bash 5.2.21
sh available
git 2.52.0
jq 1.7
yq 4.52.2
curl 8.5.0
gh 2.86.0
node 20.20.0
python3 3.12.3
go 1.24.13
java 21.0.10
dotnet 10.0.102

Result: 12/12 tools available ✅

All required development tools are accessible in the agent container environment.

🔧 Tool validation by Agent Container Smoke Test for issue #16485

@github-actions
Copy link
Contributor

Smoke Project completed successfully. All project operations validated.

@github-actions
Copy link
Contributor

Smoke test (Codex)
GitHub MCP: ✅ PRs 16474 [docs] Unbloat common-issues.md troubleshooting documentation; 16472 [docs] Update developer documentation to v2.4 - analyzed 4 new spec files
Serena MCP: ✅ activate + find_symbol (>=3 symbols)
Playwright: ✅ title contains "GitHub"
File write: ✅ smoke-test-codex-22121865189.txt created
Bash verify: ✅ cat readback ok
Build: ✅ make build
Overall: PASS

🔮 The oracle has spoken through Smoke Codex for issue #16485

@github-actions
Copy link
Contributor

Smoke Test Results

PRs tested:

Results:
✅ GitHub MCP
✅ Safe Inputs GH CLI
❌ Serena MCP (unavailable)
✅ Playwright
✅ File Writing
✅ Bash Tool
✅ Discussion Interaction
✅ Build gh-aw
✅ Discussion Creation
✅ Workflow Dispatch
✅ PR Review

Status: ⚠️ PARTIAL PASS (10/11)

cc @pelikhan @Copilot

📰 BREAKING: Report filed by Smoke Copilot for issue #16485

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Smoke test review complete. LLM gateway integration looks solid!

📰 BREAKING: Report filed by Smoke Copilot for issue #16485

@github-actions
Copy link
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions github-actions bot added bug Something isn't working enhancement New feature or request labels Feb 18, 2026
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💥 Automated smoke test review - all systems nominal!

💥 [THE END] — Illustrated by Smoke Claude for issue #16485

@pelikhan pelikhan marked this pull request as ready for review February 18, 2026 00:58
Copilot AI review requested due to automatic review settings February 18, 2026 00:58
@pelikhan pelikhan merged commit 5d8900e into main Feb 18, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/enable-llm-gateway-support branch February 18, 2026 00:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request enables LLM gateway support for the Copilot engine by making it emit the --enable-api-proxy flag in AWF (Agentic Workflow Firewall) commands when the LLM gateway port is available, bringing it into alignment with the Claude and Codex engines.

Changes:

  • Modified pkg/workflow/copilot_engine_execution.go to dynamically determine UsesAPIProxy based on SupportsLLMGateway() return value instead of hardcoding it to false
  • Updated test in pkg/workflow/enable_api_proxy_test.go to expect the --enable-api-proxy flag for Copilot
  • Regenerated 103 workflow .lock.yml files to reflect the new AWF command with --enable-api-proxy flag

Reviewed changes

Copilot reviewed 106 out of 106 changed files in this pull request and generated no comments.

File Description
pkg/workflow/copilot_engine_execution.go Added dynamic check for LLM gateway support to set UsesAPIProxy flag
pkg/workflow/enable_api_proxy_test.go Updated test expectations to verify flag presence instead of absence
.changeset/patch-enable-copilot-api-proxy.md Added changeset describing the patch
.github/workflows/*.lock.yml (103 files) Regenerated workflow lock files with --enable-api-proxy flag in AWF commands

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

bug Something isn't working enhancement New feature or request smoke-claude smoke-codex smoke-copilot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants