github / github/copilot-cli

WebFetchRedirectError: Redirects are not followed for OpenAI documentation URLs

未關閉
#3,890 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:tools
主要語言
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。