mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 14:58:37 +00:00
refactor(media): split audio helpers and attachment cache
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { MEDIA_AUDIO_FIELD_KEYS } from "./media-audio-field-metadata.js";
|
||||
import { FIELD_HELP } from "./schema.help.js";
|
||||
import { FIELD_LABELS } from "./schema.labels.js";
|
||||
|
||||
@@ -457,15 +458,7 @@ const TOOLS_HOOKS_TARGET_KEYS = [
|
||||
"tools.links.models",
|
||||
"tools.links.scope",
|
||||
"tools.links.timeoutSeconds",
|
||||
"tools.media.audio.attachments",
|
||||
"tools.media.audio.enabled",
|
||||
"tools.media.audio.language",
|
||||
"tools.media.audio.maxBytes",
|
||||
"tools.media.audio.maxChars",
|
||||
"tools.media.audio.models",
|
||||
"tools.media.audio.prompt",
|
||||
"tools.media.audio.scope",
|
||||
"tools.media.audio.timeoutSeconds",
|
||||
...MEDIA_AUDIO_FIELD_KEYS,
|
||||
"tools.media.concurrency",
|
||||
"tools.media.image.attachments",
|
||||
"tools.media.image.enabled",
|
||||
|
||||
Reference in New Issue
Block a user