import { A as buildQwenOAuthModelCatalog, O as buildQwenModelCatalogForBaseUrl, v as QWEN_OAUTH_BASE_URL } from "./models-DLp1vzWf.js";
//#region extensions/qwen/provider-catalog.ts
function buildQwenProvider(params) {
	const baseUrl = params?.baseUrl ?? "https://coding-intl.dashscope.aliyuncs.com/v1";
	return {
		baseUrl,
		api: "openai-completions",
		models: buildQwenModelCatalogForBaseUrl(baseUrl).map((model) => Object.assign({}, model))
	};
}
function buildQwenOAuthProvider() {
	return {
		baseUrl: QWEN_OAUTH_BASE_URL,
		api: "openai-completions",
		models: buildQwenOAuthModelCatalog().map((model) => Object.assign({}, model))
	};
}
const buildModelStudioProvider = buildQwenProvider;
//#endregion
export { buildQwenOAuthProvider as n, buildQwenProvider as r, buildModelStudioProvider as t };
