repo-ask (and other workflows) fail to compile: web-fetch unsupported on Copilot offline BYOK
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- github, github-actions
- Ambito
- ci-cd
Direzione di ricerca
Start with workflows/repo-ask.md: remove or convert the tools: web-fetch: frontmatter and reword the prompt line about web search and web fetch. The issue lists 14 other workflows with the same frontmatter that need the same change. Done means gh aw compiles each of them under v0.91.12 and no prompt mentions web tools that Copilot cannot use. The issue offers two fixes, so confirm with a maintainer which one to take before editing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
With current gh-aw (v0.91.12), workflows/repo-ask.md no longer compiles:
✗ repo-ask.md (1 error(s)):
Reason: Copilot's native 'web-fetch' tool is unavailable because offline BYOK mode disables web tools (COPILOT_OFFLINE=true)
✗ compilation failed
It declares tools: web-fetch: without an engine:, so it uses the default Copilot engine. Copilot runs in offline BYOK mode, which disables its native web tools. github/gh-aw#66310 (fixing github/gh-aw#65043) made compilation reject web-search: and, in Copilot CLI mode, web-fetch:. Before that change the tool compiled to --allow-tool web_fetch but was never in the agent's tool catalog, so this workflow has had no web access for a while either way.
The prompt also still says "You can use web search and web fetch to gather information from the internet". Agents read that, look for the tools, and report that they're missing.
Other workflows affected
These workflows also declare web-fetch: with no engine: in their frontmatter, so they likely hit the same compile error (I only compiled repo-ask.md):
accessibility-review, adhoc-qa, ci-coach, daily-issue-triage, efficiency-improver, lean-squad, link-checker, perf-improver, plan, pr-fix, repo-ask, repo-assist, test-improver, update-docs, weekly-research
Suggested fix
Either:
- switch to Copilot SDK mode, which keeps a proxy-aware custom
web_fetchthat followsnetwork.allowed(compiles with v0.91.12):engine: id: copilot copilot-sdk: true tools: web-fetch: - or drop
web-fetch:(gh aw fixdoes this) and change the prompt so it no longer mentions web search/fetch.
Native web search isn't available on Copilot in either mode, so the "web search" wording should go in both cases unless a search MCP server is added.
- Lingua principale
- Python
- Stelle
- 1.1k
- Fork
- 163
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di githubnext/agentics
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
githubnext/agentics#420 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
githubnext/agentics#402 ·
-
agentic-workflows automated documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 1/100
githubnext/agentics#419 ·
-
FrontendAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
githubnext/agentics#418 ·
-
[aw] Detection RunsApertaagentic-workflows
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 8/100
githubnext/agentics#415 · 1 commento ·
Tutte le issue di githubnext/agentics
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 69/100
anderspitman/awesome-tunneling#330 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
521xueweihan/HelloGitHub#4676 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 18 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
pandas-dev/pandas-stubs#2155 ·
I maintainer di solito rispondono entro 1 giorno
-
essreduce
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno