refactor(context): expose provider config type and instruction flags in TTS value
Update TTS context to include configProviderType, supportsInstructions, and ttsInstructions in the provided value, improving downstream access to provider capabilities and instruction handling.
This commit is contained in:
parent
88809b826b
commit
944b8246e5
1 changed files with 3 additions and 0 deletions
|
|
@ -2264,6 +2264,9 @@ export function TTSProvider({ children }: { children: ReactNode }): ReactElement
|
|||
effectiveNativeSpeed,
|
||||
configProviderRef,
|
||||
ttsModel,
|
||||
configProviderType,
|
||||
providerModelPolicy.supportsInstructions,
|
||||
ttsInstructions,
|
||||
isEPUB,
|
||||
currDocPage,
|
||||
currDocPageNumber,
|
||||
|
|
|
|||
Loading…
Reference in a new issue