惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
罗磊的独立博客
The GitHub Blog
The GitHub Blog
L
LangChain Blog
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
DataBreaches.Net
宝玉的分享
宝玉的分享
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
N
Netflix TechBlog - Medium
The Cloudflare Blog
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
美团技术团队
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: normalize video generation fallbacks · openclaw/open...
steipete · 2026-05-05 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -52,7 +52,7 @@ const SEEDANCE_REFERENCE_MAX_AUDIOS_BY_MODEL = Object.fromEntries(

5252

SEEDANCE_2_REFERENCE_VIDEO_MODELS.map((model) => [model, SEEDANCE_REFERENCE_MAX_AUDIOS]),

5353

);

5454

const DEFAULT_HTTP_TIMEOUT_MS = 30_000;

55-

const DEFAULT_OPERATION_TIMEOUT_MS = 600_000;

55+

const DEFAULT_OPERATION_TIMEOUT_MS = 1_200_000;

5656

const POLL_INTERVAL_MS = 5_000;

5757
5858

type FalVideoResponse = {

Original file line numberDiff line numberDiff line change

@@ -40,7 +40,11 @@ describe("google video generation provider", () => {

4040

});

4141
4242

it("declares explicit mode capabilities", () => {

43-

expectExplicitVideoGenerationCapabilities(buildGoogleVideoGenerationProvider());

43+

const provider = buildGoogleVideoGenerationProvider();

44+

expectExplicitVideoGenerationCapabilities(provider);

45+

expect(provider.capabilities.generate?.supportsAudio).toBe(false);

46+

expect(provider.capabilities.imageToVideo?.supportsAudio).toBe(false);

47+

expect(provider.capabilities.videoToVideo?.supportsAudio).toBe(false);

4448

});

4549
4650

it("submits generation and returns inline video bytes", async () => {

@@ -89,6 +93,7 @@ describe("google video generation provider", () => {

8993

}),

9094

}),

9195

);

96+

expect(request?.config).not.toHaveProperty("generateAudio");

9297

expect(request?.config).not.toHaveProperty("numberOfVideos");

9398

expect(request?.config).not.toHaveProperty("generateAudio");

9499

expect(result.videos).toHaveLength(1);

Original file line numberDiff line numberDiff line change

@@ -26,7 +26,7 @@ import { createGoogleGenAI, type GoogleGenAIClient } from "./google-genai-runtim

2626
2727

const DEFAULT_TIMEOUT_MS = 180_000;

2828

const POLL_INTERVAL_MS = 10_000;

29-

const MAX_POLL_ATTEMPTS = 90;

29+

const MAX_POLL_ATTEMPTS = 120;

3030

const GOOGLE_VIDEO_EMPTY_RESULT_MESSAGE =

3131

"Google video generation response missing generated videos";

3232
Original file line numberDiff line numberDiff line change

@@ -29,7 +29,10 @@ installMinimaxProviderHttpMockCleanup();

2929
3030

describe("minimax video generation provider", () => {

3131

it("declares explicit mode capabilities", () => {

32-

expectExplicitVideoGenerationCapabilities(buildMinimaxVideoGenerationProvider());

32+

const provider = buildMinimaxVideoGenerationProvider();

33+

expectExplicitVideoGenerationCapabilities(provider);

34+

expect(provider.capabilities.generate?.resolutions).toEqual(["768P", "1080P"]);

35+

expect(provider.capabilities.imageToVideo?.resolutions).toEqual(["768P", "1080P"]);

3336

});

3437
3538

it("creates a task, polls status, and downloads the generated video", async () => {

Original file line numberDiff line numberDiff line change

@@ -19,8 +19,9 @@ import type {

1919

const DEFAULT_MINIMAX_VIDEO_BASE_URL = "https://api.minimax.io";

2020

const DEFAULT_MINIMAX_VIDEO_MODEL = "MiniMax-Hailuo-2.3";

2121

const DEFAULT_TIMEOUT_MS = 120_000;

22+

const DEFAULT_OPERATION_TIMEOUT_MS = 1_200_000;

2223

const POLL_INTERVAL_MS = 10_000;

23-

const MAX_POLL_ATTEMPTS = 90;

24+

const MAX_POLL_ATTEMPTS = 120;

2425

const MINIMAX_MODEL_ALLOWED_DURATIONS: Readonly<Record<string, readonly number[]>> = {

2526

"MiniMax-Hailuo-2.3": [6, 10],

2627

"MiniMax-Hailuo-02": [6, 10],

@@ -323,7 +324,7 @@ function buildMinimaxVideoProvider(providerId: string): VideoGenerationProvider

323324
324325

const fetchFn = fetch;

325326

const deadline = createProviderOperationDeadline({

326-

timeoutMs: req.timeoutMs,

327+

timeoutMs: req.timeoutMs ?? DEFAULT_OPERATION_TIMEOUT_MS,

327328

label: "MiniMax video generation",

328329

});

329330

const { baseUrl, allowPrivateNetwork, headers, dispatcherPolicy } =

@@ -387,7 +388,7 @@ function buildMinimaxVideoProvider(providerId: string): VideoGenerationProvider

387388

headers,

388389

timeoutMs: resolveProviderOperationTimeoutMs({

389390

deadline,

390-

defaultTimeoutMs: DEFAULT_TIMEOUT_MS,

391+

defaultTimeoutMs: DEFAULT_OPERATION_TIMEOUT_MS,

391392

}),

392393

baseUrl,

393394

fetchFn,