WebFetchRedirectError: Redirects are not followed for OpenAI documentation URLs
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### 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_
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli, networking
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100