@d-id/client-sdk 2.0.4 → 2.0.5-staging.393
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-BLnfl1xQ.js → index-CqEijjwH.js} +96 -92
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +5 -5
- package/dist/{livekit-manager-BIEXLrwR.js → livekit-manager-CNMyAnJt.js} +180 -167
- package/dist/src/services/streaming-manager/common.d.ts +7 -0
- package/dist/src/services/streaming-manager/livekit-manager.d.ts +2 -1
- package/dist/src/types/entities/agents/agent.d.ts +1 -0
- package/dist/src/types/entities/agents/manager.d.ts +6 -0
- package/package.json +1 -1
|
@@ -280,6 +280,12 @@ export interface AgentManager {
|
|
|
280
280
|
* Only available for Fluent streams and when there's an active video to interrupt
|
|
281
281
|
*/
|
|
282
282
|
interrupt: (interrupt: Interrupt) => void;
|
|
283
|
+
/**
|
|
284
|
+
* Switch the STT language mid-session
|
|
285
|
+
* Only available for Expressive (V4) agents
|
|
286
|
+
* @param language - Language name or BCP-47 code (e.g. "English" or "en-US")
|
|
287
|
+
*/
|
|
288
|
+
setSttLanguage: (language: string) => Promise<void>;
|
|
283
289
|
/**
|
|
284
290
|
* Register a handler for a client tool. When the agent's LLM calls this tool,
|
|
285
291
|
* the handler executes on the client and returns the result to the LLM.
|