mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 01:21:36 +00:00
feat: add music generation tooling
This commit is contained in:
@@ -1089,6 +1089,10 @@ export const FIELD_HELP: Record<string, string> = {
|
||||
"Optional video-generation model (provider/model) used by the shared video generation capability.",
|
||||
"agents.defaults.videoGenerationModel.fallbacks":
|
||||
"Ordered fallback video-generation models (provider/model).",
|
||||
"agents.defaults.musicGenerationModel.primary":
|
||||
"Optional music-generation model (provider/model) used by the shared music generation capability.",
|
||||
"agents.defaults.musicGenerationModel.fallbacks":
|
||||
"Ordered fallback music-generation models (provider/model).",
|
||||
"agents.defaults.pdfModel.primary":
|
||||
"Optional PDF model (provider/model) for the PDF analysis tool. Defaults to imageModel, then session model.",
|
||||
"agents.defaults.pdfModel.fallbacks": "Ordered fallback PDF models (provider/model).",
|
||||
|
||||
@@ -496,6 +496,8 @@ export const FIELD_LABELS: Record<string, string> = {
|
||||
"agents.defaults.imageGenerationModel.fallbacks": "Image Generation Model Fallbacks",
|
||||
"agents.defaults.videoGenerationModel.primary": "Video Generation Model",
|
||||
"agents.defaults.videoGenerationModel.fallbacks": "Video Generation Model Fallbacks",
|
||||
"agents.defaults.musicGenerationModel.primary": "Music Generation Model",
|
||||
"agents.defaults.musicGenerationModel.fallbacks": "Music Generation Model Fallbacks",
|
||||
"agents.defaults.pdfModel.primary": "PDF Model",
|
||||
"agents.defaults.pdfModel.fallbacks": "PDF Model Fallbacks",
|
||||
"agents.defaults.pdfMaxBytesMb": "PDF Max Size (MB)",
|
||||
|
||||
@@ -55,6 +55,8 @@ export type AgentDefaultsConfig = {
|
||||
imageGenerationModel?: AgentModelConfig;
|
||||
/** Optional video-generation model and fallbacks (provider/model). Accepts string or {primary,fallbacks}. */
|
||||
videoGenerationModel?: AgentModelConfig;
|
||||
/** Optional music-generation model and fallbacks (provider/model). Accepts string or {primary,fallbacks}. */
|
||||
musicGenerationModel?: AgentModelConfig;
|
||||
/** Optional PDF-capable model and fallbacks (provider/model). Accepts string or {primary,fallbacks}. */
|
||||
pdfModel?: AgentModelConfig;
|
||||
/** Maximum PDF file size in megabytes (default: 10). */
|
||||
|
||||
@@ -21,6 +21,7 @@ export const AgentDefaultsSchema = z
|
||||
imageModel: AgentModelSchema.optional(),
|
||||
imageGenerationModel: AgentModelSchema.optional(),
|
||||
videoGenerationModel: AgentModelSchema.optional(),
|
||||
musicGenerationModel: AgentModelSchema.optional(),
|
||||
pdfModel: AgentModelSchema.optional(),
|
||||
pdfMaxBytesMb: z.number().positive().optional(),
|
||||
pdfMaxPages: z.number().int().positive().optional(),
|
||||
|
||||
Reference in New Issue
Block a user