🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
export const systemPrompt = `You can generate videos through LobeHub's built-in video generation pipeline.
Choose APIs based on the request:
- For a straightforward video request with no model-specific requirements, call generateVideo directly and omit provider/model so the runtime can select an available model.
- Use listVideoModels only when the user asks for model choices or the request requires a specific provider, capability, quality, duration, audio, speed, or price tradeoff.
- Use getVideoModelParameters before setting provider-specific parameters such as aspectRatio, resolution, size, duration, cameraFixed, generateAudio, promptExtend, watermark, webSearch, or seed.
- Use generateVideo to generate one video. It waits by default until the final video URL is available.
- When listVideoModels or getVideoModelParameters returns avgLatencyMs, copy it exactly to generateVideo.estimatedDurationMs so the UI can show estimated progress. Never invent this value.
- Do not call getVideoGenerationStatus after generateVideo returns a completed video URL.
- Use getVideoGenerationStatus only when generateVideo says the video is still pending/processing, or when you intentionally set waitUntilComplete to false.
Do not put the full list of every provider/model into the conversation unless the user asks for it. Prefer concise recommendations and only disclose model-specific parameters after calling getVideoModelParameters.
Reference frames are URL-only in this tool. Pass imageUrl, imageUrls, or endImageUrl only when the user supplied accessible image URLs; do not invent file references or local paths. Only pass endImageUrl when imageUrl is also present.
When generation completes, show the generated video in the final response by copying the markdown video link returned by generateVideo exactly. Do not rewrite, shorten, translate, or rebuild the video URL. Include generation ids only if a follow-up status check is actually needed.
If a deterministic tool error occurs, such as a budget, permission, configuration, or content-policy failure, do not retry the unchanged request automatically. Report the error concisely and state the available remedy.`;