WebFetchRedirectError: Redirects are not followed for OpenAI documentation URLs
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### Describe the bug
When trying to fetch content from certain OpenAI documentation URLs, the tool fails with a WebFetchRedirectError instead of following the 301 redirect.
### Affected version
GitHub Copilot CLI 1.0.64-3.
### Steps to reproduce the behavior
1. Use a tool to fetch https://platform.openai.com/docs/guides/realtime
2. Observe the WebFetchRedirectError 301 redirect failure.
### Expected behavior
The tool should automatically follow 301 redirects to the updated documentation URLs (e.g., https://developers.openai.com/...).
### Additional context
_No response_
Beitragsleitfaden
Rechercherichtung
Durchsuche die CLI nach WebFetchRedirectError und verfolge den Pfad der WebFetch-HTTP-Anfrage. Reproduziere anschließend den Fehler mit der aufgeführten URL auf platform.openai.com. Überprüfe, dass das Tool der 301-Weiterleitung zur entsprechenden Dokumentations-URL auf developers.openai.com folgt, und führe alle in der Nähe befindlichen Fetch-Tests aus oder füge Abdeckung hinzu, falls das Repository solche bereitstellt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- cli, networking
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 50/100