Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: 修复 XInference 供应商加载模型时的未认证导致 API 域名无效的问题 #1334

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

dolphinlife
Copy link

What this PR does / why we need it?

当XInference供应商模型开启认证后,添加模型时的获取模型列表接口未传递 Authorization 导致模型添加失败。页面报 “API 域名无效” 错误。该 PR 修复该问题。

Summary of your change

如果添加模型时设置了API KEY,在调用 XInference 接口时传递该参数。

Please indicate you've done the following:

不涉及。

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

Copy link

f2c-ci-robot bot commented Oct 9, 2024

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link

f2c-ci-robot bot commented Oct 9, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@shaohuzhang1 shaohuzhang1 merged commit ccc0be7 into 1Panel-dev:main Oct 9, 2024
1 check was pending
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants