video-gen: fix query_video task_id description referencing wrong tool name
This commit is contained in:
@@ -245,7 +245,7 @@ function buildServer({ publicBaseUrl }) {
|
|||||||
|
|
||||||
const uploadUrl = `${publicBaseUrl}/upload`;
|
const uploadUrl = `${publicBaseUrl}/upload`;
|
||||||
|
|
||||||
// ---------- 工具 1:generate_video ----------
|
// ---------- 工具 1:video-gen ----------
|
||||||
server.tool(
|
server.tool(
|
||||||
"video-gen",
|
"video-gen",
|
||||||
`Submit a video generation task (text-to-video or image-to-video).
|
`Submit a video generation task (text-to-video or image-to-video).
|
||||||
@@ -364,7 +364,7 @@ Uploaded files live in container temp storage and are discarded on restart — d
|
|||||||
task_id: z
|
task_id: z
|
||||||
.string()
|
.string()
|
||||||
.min(1)
|
.min(1)
|
||||||
.describe("The task id returned by generate_video."),
|
.describe("The task id returned by video-gen."),
|
||||||
},
|
},
|
||||||
async (args, extra) => {
|
async (args, extra) => {
|
||||||
const headers = extra?.requestInfo?.headers;
|
const headers = extra?.requestInfo?.headers;
|
||||||
|
|||||||
Reference in New Issue
Block a user