Skip to content

WebFetchRedirectError: Redirects are not followed for OpenAI documentation URLs #3890

Description

@doggy8088

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions