mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 03:48:22 +00:00
refactor: unify media provider options
This commit is contained in:
@@ -51,7 +51,9 @@ export type MediaUnderstandingModelConfig = {
|
||||
timeoutSeconds?: number;
|
||||
/** Optional language hint for audio transcription. */
|
||||
language?: string;
|
||||
/** Optional Deepgram transcription options (audio only). */
|
||||
/** Optional provider-specific query params (merged into requests). */
|
||||
providerOptions?: Record<string, Record<string, string | number | boolean>>;
|
||||
/** @deprecated Use providerOptions.deepgram instead. */
|
||||
deepgram?: {
|
||||
detectLanguage?: boolean;
|
||||
punctuate?: boolean;
|
||||
@@ -82,7 +84,9 @@ export type MediaUnderstandingConfig = {
|
||||
timeoutSeconds?: number;
|
||||
/** Default language hint (audio). */
|
||||
language?: string;
|
||||
/** Optional Deepgram transcription options (audio only). */
|
||||
/** Optional provider-specific query params (merged into requests). */
|
||||
providerOptions?: Record<string, Record<string, string | number | boolean>>;
|
||||
/** @deprecated Use providerOptions.deepgram instead. */
|
||||
deepgram?: {
|
||||
detectLanguage?: boolean;
|
||||
punctuate?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user