repo-ask (and other workflows) fail to compile: web-fetch unsupported on Copilot offline BYOK
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- github, github-actions
- Área
- ci-cd
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 1.1k
- Forks
- 163
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de githubnext/agentics
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
githubnext/agentics#420 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
githubnext/agentics#402 ·
-
agentic-workflows automated documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 1/100
githubnext/agentics#419 ·
-
FrontendAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 1/100
githubnext/agentics#418 ·
-
[aw] Detection RunsAbiertoagentic-workflows
Dificultad 2/5 Menos de una hora Aptitud para principiantes 8/100
githubnext/agentics#415 · 1 comentario ·
Todos los issues de githubnext/agentics
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bad-antics/lateralus-lang#1489 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 69/100
anderspitman/awesome-tunneling#330 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
scikit-hep/coffea#1668 ·