Skip to content

fix bugs 修复provider为openai,但api_key并不是https://api.openai.com/v1而引起的大模型调用失败情况#200

Merged
qin-ctx merged 1 commit intomainfrom
fix/provider_bugs
Feb 17, 2026
Merged

fix bugs 修复provider为openai,但api_key并不是https://api.openai.com/v1而引起的大模型调用失败情况#200
qin-ctx merged 1 commit intomainfrom
fix/provider_bugs

Conversation

@BytedanceFu
Copy link
Collaborator

@BytedanceFu BytedanceFu commented Feb 17, 2026

Description

调用一些兼容openai,但是api_base并不是https://api.openai.com/v1时的情况,此时litellm会调用失败,需要进行适配。修复bug

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@BytedanceFu BytedanceFu self-assigned this Feb 17, 2026
@BytedanceFu BytedanceFu added the bug Something isn't working label Feb 17, 2026
@qin-ctx qin-ctx merged commit a4f0d44 into main Feb 17, 2026
3 of 5 checks passed
@qin-ctx qin-ctx deleted the fix/provider_bugs branch February 17, 2026 10:15
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenViking project Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants