github / github/copilot-cli

WebFetchRedirectError: Redirects are not followed for OpenAI documentation URLs

Ouverte
#3,890 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
area:tools
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Search the CLI for WebFetchRedirectError and trace the WebFetch HTTP request path, then reproduce the failure with the listed platform.openai.com URL. Verify the tool follows the 301 redirect to the corresponding developers.openai.com documentation URL, and run any nearby fetch tests or add coverage if the repository provides them.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
cli, networking
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
50/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.