mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 05:14:25 +00:00
feat(agent): add built-in image and video generation tools and settings (#382)
* feat(agent): add built-in image and video generation tools and settings * fix(settings): refine media generation layout and expose media tools in agent and quota forms * feat(media-generation): add alibaba, bytedance, minimax, prodia, and azure providers * feat(agent): support s3 key references for media generation and s3KeyOnly in read_asset
This commit is contained in:
@@ -95,6 +95,16 @@ const BUILTIN_TOOLS = [
|
||||
name: () => m.agent_tool_create_version_name(),
|
||||
description: () => m.agent_tool_create_version_desc(),
|
||||
},
|
||||
{
|
||||
id: 'generate_image',
|
||||
name: () => m.agent_tool_generate_image_name(),
|
||||
description: () => m.agent_tool_generate_image_desc(),
|
||||
},
|
||||
{
|
||||
id: 'generate_video',
|
||||
name: () => m.agent_tool_generate_video_name(),
|
||||
description: () => m.agent_tool_generate_video_desc(),
|
||||
},
|
||||
]
|
||||
|
||||
type AgentFormValues = z.infer<typeof agentFormSchema>
|
||||
|
||||
Reference in New Issue
Block a user