mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-05 22:32:12 +00:00
feat(qwen): add qwen provider and video generation
This commit is contained in:
@@ -130,6 +130,8 @@
|
||||
"googlechat",
|
||||
"image-generation",
|
||||
"image-generation-core",
|
||||
"video-generation",
|
||||
"video-generation-core",
|
||||
"irc",
|
||||
"irc-surface",
|
||||
"kimi-coding",
|
||||
@@ -171,6 +173,8 @@
|
||||
"memory-core-host-runtime-files",
|
||||
"memory-lancedb",
|
||||
"minimax",
|
||||
"qwen",
|
||||
"qwen-definitions",
|
||||
"modelstudio",
|
||||
"modelstudio-definitions",
|
||||
"moonshot",
|
||||
|
||||
@@ -315,6 +315,18 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
],
|
||||
typeExports: ["GenerateImageParams", "GenerateImageRuntimeResult"],
|
||||
},
|
||||
{
|
||||
subpath: "video-generation-runtime",
|
||||
source: pluginSource("video-generation-core", "runtime-api.js"),
|
||||
loadPolicy: "activated",
|
||||
exports: [
|
||||
"generateVideo",
|
||||
"listRuntimeVideoGenerationProviders",
|
||||
"GenerateVideoParams",
|
||||
"GenerateVideoRuntimeResult",
|
||||
],
|
||||
typeExports: ["GenerateVideoParams", "GenerateVideoRuntimeResult"],
|
||||
},
|
||||
{
|
||||
subpath: "kimi-coding",
|
||||
source: pluginSource("kimi-coding", "api.js"),
|
||||
@@ -370,13 +382,19 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
source: pluginSource("memory-core", "runtime-api.js"),
|
||||
loadPolicy: "activated",
|
||||
exports: [
|
||||
"auditShortTermPromotionArtifacts",
|
||||
"BuiltinMemoryEmbeddingProviderDoctorMetadata",
|
||||
"getBuiltinMemoryEmbeddingProviderDoctorMetadata",
|
||||
"getMemorySearchManager",
|
||||
"listBuiltinAutoSelectMemoryEmbeddingProviderDoctorMetadata",
|
||||
"MemoryIndexManager",
|
||||
"repairShortTermPromotionArtifacts",
|
||||
],
|
||||
typeExports: [
|
||||
"BuiltinMemoryEmbeddingProviderDoctorMetadata",
|
||||
"RepairShortTermPromotionArtifactsResult",
|
||||
"ShortTermAuditSummary",
|
||||
],
|
||||
typeExports: ["BuiltinMemoryEmbeddingProviderDoctorMetadata"],
|
||||
},
|
||||
{
|
||||
subpath: "mattermost-policy",
|
||||
@@ -532,9 +550,44 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
"MINIMAX_TEXT_MODEL_REFS",
|
||||
],
|
||||
},
|
||||
{
|
||||
subpath: "qwen",
|
||||
source: pluginSource("qwen", "api.js"),
|
||||
exports: [
|
||||
"applyQwenNativeStreamingUsageCompat",
|
||||
"buildQwenDefaultModelDefinition",
|
||||
"buildQwenModelDefinition",
|
||||
"QWEN_BASE_URL",
|
||||
"QWEN_CN_BASE_URL",
|
||||
"QWEN_DEFAULT_COST",
|
||||
"QWEN_DEFAULT_MODEL_ID",
|
||||
"QWEN_DEFAULT_MODEL_REF",
|
||||
"QWEN_GLOBAL_BASE_URL",
|
||||
"QWEN_STANDARD_CN_BASE_URL",
|
||||
"QWEN_STANDARD_GLOBAL_BASE_URL",
|
||||
"QWEN_MODEL_CATALOG",
|
||||
"isNativeQwenBaseUrl",
|
||||
"buildQwenProvider",
|
||||
],
|
||||
},
|
||||
{
|
||||
subpath: "qwen-definitions",
|
||||
source: pluginSource("qwen", "api.js"),
|
||||
exports: [
|
||||
"buildQwenDefaultModelDefinition",
|
||||
"buildQwenModelDefinition",
|
||||
"QWEN_CN_BASE_URL",
|
||||
"QWEN_DEFAULT_COST",
|
||||
"QWEN_DEFAULT_MODEL_ID",
|
||||
"QWEN_DEFAULT_MODEL_REF",
|
||||
"QWEN_GLOBAL_BASE_URL",
|
||||
"QWEN_STANDARD_CN_BASE_URL",
|
||||
"QWEN_STANDARD_GLOBAL_BASE_URL",
|
||||
],
|
||||
},
|
||||
{
|
||||
subpath: "modelstudio",
|
||||
source: pluginSource("modelstudio", "api.js"),
|
||||
source: pluginSource("qwen", "api.js"),
|
||||
exports: [
|
||||
"applyModelStudioNativeStreamingUsageCompat",
|
||||
"buildModelStudioDefaultModelDefinition",
|
||||
@@ -554,7 +607,7 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
},
|
||||
{
|
||||
subpath: "modelstudio-definitions",
|
||||
source: pluginSource("modelstudio", "api.js"),
|
||||
source: pluginSource("qwen", "api.js"),
|
||||
exports: [
|
||||
"buildModelStudioDefaultModelDefinition",
|
||||
"buildModelStudioModelDefinition",
|
||||
|
||||
Reference in New Issue
Block a user