Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: baidu api issue #1685

Merged
merged 1 commit into from
Jan 16, 2025
Merged

fix: baidu api issue #1685

merged 1 commit into from
Jan 16, 2025

Conversation

cr7258
Copy link
Collaborator

@cr7258 cr7258 commented Jan 16, 2025

Ⅰ. Describe what this PR did

baidu API 和其他 provider 有所不同,需要使用 access key 和 access secret 定期获取 apiToken,并存储在 global 的 apiToken 列表中(让所有 Wasm VM 能够访问到),因此对于 baidu API,需要始终将 useGlobalApiToken 参数设置为 true。

Ⅱ. Does this pull request fix one issue?

fixes higress-group/higress-console#409

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Copy link
Collaborator

@CH3CHO CH3CHO left a comment

Choose a reason for hiding this comment

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

LGTM

@cr7258 cr7258 merged commit ba74f4b into alibaba:main Jan 16, 2025
13 checks passed
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.

Higress Console does not compatible with the special fields of baidu API
2 participants