mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 08:00:22 +00:00
* Remove Qwen OAuth integration (qwen-portal-auth) Qwen OAuth via portal.qwen.ai is being deprecated by the Qwen team due to traffic impact on their primary Qwen Code user base. Users should migrate to the officially supported Model Studio (Alibaba Cloud Coding Plan) provider instead. Ref: https://github.com/openclaw/openclaw/issues/49557 - Delete extensions/qwen-portal-auth/ plugin entirely - Remove qwen-portal from onboarding auth choices, provider aliases, auto-enable list, bundled plugin defaults, and pricing cache - Remove Qwen CLI credential sync (external-cli-sync, cli-credentials) - Remove QWEN_OAUTH_MARKER from model auth markers - Update docs/providers/qwen.md to redirect to Model Studio - Update model-providers docs (EN + zh-CN) to remove Qwen OAuth section - Regenerate config and plugin-sdk baselines - Update all affected tests Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> * Clean up residual qwen-portal references after OAuth removal * Add migration hint for deprecated qwen-portal OAuth provider * fix: finish qwen oauth removal follow-up --------- Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> Co-authored-by: Frank Yang <frank.ekn@gmail.com>
22 lines
693 B
TypeScript
22 lines
693 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { formatAuthDoctorHint } from "./auth-profiles/doctor.js";
|
|
import type { AuthProfileStore } from "./auth-profiles/types.js";
|
|
|
|
const EMPTY_STORE: AuthProfileStore = {
|
|
version: 1,
|
|
profiles: {},
|
|
};
|
|
|
|
describe("formatAuthDoctorHint", () => {
|
|
it("guides removed qwen portal users to model studio onboarding", async () => {
|
|
const hint = await formatAuthDoctorHint({
|
|
store: EMPTY_STORE,
|
|
provider: "qwen-portal",
|
|
});
|
|
|
|
expect(hint).toContain("openclaw onboard --auth-choice modelstudio-api-key");
|
|
expect(hint).toContain("modelstudio-api-key-cn");
|
|
expect(hint).not.toContain("--provider modelstudio");
|
|
});
|
|
});
|