Skip to content

[Feature]: add support GPT-5.6 on GitHub Copilot #33893

Description

@derrik-fleming

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

The Feature

Summary

Please support direct upstream /responses calls for github_copilot in litellm.responses(...) instead of falling back to the Chat API or a hardcoded endpoint.

Current behavior

With github_copilot, litellm.responses(...) currently routes GPT-5.6 models through the Chat API (/chat/completions) and uses a hardcoded internal endpoint instead of the URL returned during OAuth authentication.

Requested behavior

If the model is a GPT-5.6 variants (or if the endpoint returned during authentication supports /responses), please route litellm.responses(...) directly to the upstream /responses endpoint.

Motivation, pitch

I'm using github_copilot with LiteLLM.

I found that, to call models such as GPT-5.6 on GitHub Copilot, the Responses API is required. However, when I use the github_copilot provider through LiteLLM, I found that litellm.responses(...) does not route to the actual upstream /responses endpoint and instead falls back to Chat API behavior.

Additionally, the endpoint URL is hardcoded and does not use the endpoint returned during OAuth authentication.

I'd like LiteLLM to support direct /responses upstream routing for GitHub Copilot's GPT-5.6 models so that they can be called consistently through the Responses API interface.

What part of LiteLLM is this about?

SDK (litellm Python package)

LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions