mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-13 18:52:18 +03:00
fix(media): support Gemini Omni Flash video (#9982)
* feat(media): add provider-neutral video and music generation * fix(db): clean audit tables by created timestamp * fix(media): support Fal-hosted Grok video * fix(media): route Fal video references to Grok * fix(media): support Gemini Omni Flash video * fix(media): use Gemini Omni Flash Fal endpoint --------- Co-authored-by: rinseaid <rinseaid@rinseaid.net>
This commit is contained in:
@@ -82,24 +82,32 @@ test("cleanup: scheduler is wired into server-init.ts", () => {
|
||||
|
||||
test("cleanup: mcp_tool_audit uses correct table name (not 'mcp_audit_log')", () => {
|
||||
assert.ok(
|
||||
source.includes("DELETE FROM mcp_tool_audit WHERE"),
|
||||
"must use correct table name mcp_tool_audit"
|
||||
source.includes("DELETE FROM mcp_tool_audit WHERE created_at < ?"),
|
||||
"mcp_tool_audit cleanup must use its created_at column"
|
||||
);
|
||||
assert.ok(
|
||||
!source.includes("DELETE FROM mcp_audit_log WHERE"),
|
||||
"must NOT use non-existent table name mcp_audit_log"
|
||||
);
|
||||
assert.ok(
|
||||
!source.includes("DELETE FROM mcp_tool_audit WHERE timestamp"),
|
||||
"must NOT use timestamp for mcp_tool_audit"
|
||||
);
|
||||
});
|
||||
|
||||
test("cleanup: a2a_task_events uses correct table name (not 'a2a_events')", () => {
|
||||
assert.ok(
|
||||
source.includes("DELETE FROM a2a_task_events WHERE"),
|
||||
"must use correct table name a2a_task_events"
|
||||
source.includes("DELETE FROM a2a_task_events WHERE created_at < ?"),
|
||||
"a2a_task_events cleanup must use its created_at column"
|
||||
);
|
||||
assert.ok(
|
||||
!source.includes("DELETE FROM a2a_events WHERE"),
|
||||
"must NOT use non-existent table name a2a_events"
|
||||
);
|
||||
assert.ok(
|
||||
!source.includes("DELETE FROM a2a_task_events WHERE timestamp"),
|
||||
"must NOT use timestamp for a2a_task_events"
|
||||
);
|
||||
});
|
||||
|
||||
test("cleanup: memories uses correct table name (not 'memory_entries')", () => {
|
||||
|
||||
Reference in New Issue
Block a user