Skip to content

[WIP] Fix http client method usage based on feedback#94

Merged
manthanabc merged 2 commits intoqwenfrom
copilot/sub-pr-89
Feb 15, 2026
Merged

[WIP] Fix http client method usage based on feedback#94
manthanabc merged 2 commits intoqwenfrom
copilot/sub-pr-89

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 15, 2026

  • Remove build_http_client_internal wrapper method
  • Update request_device_code to call build_http_client directly
  • Update poll_for_token to call build_http_client directly
  • Run tests to verify changes
  • Final code review

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: manthanabc <48511543+manthanabc@users.noreply.github.com>
@manthanabc manthanabc marked this pull request as ready for review February 15, 2026 18:42
Copilot AI review requested due to automatic review settings February 15, 2026 18:42
@manthanabc manthanabc merged commit 351fc03 into qwen Feb 15, 2026
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies Qwen OAuth HTTP logic by removing an unnecessary HTTP client wrapper and using the shared build_http_client helper directly for device-code and token polling requests.

Changes:

  • Replace build_http_client_internal usage with direct calls to build_http_client(...)
  • Remove the now-redundant build_http_client_internal helper from the Qwen HTTP provider

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants