liveEvents
const实时事件:object
定义于:.build/typescript/packages/core/src/llms/live/live-types.ts:36
打开:
object
open.include()
Section titled “open.include()”包含: (
e) =>e is OpenEvent
e is OpenEvent
音频:
object
audio.include()
Section titled “audio.include()”包含: (
e) =>e is MessageContentAudioDetail
e is MessageContentAudioDetail
text:
object
text.include()
Section titled “text.include()”包含: (
e) =>e is MessageContentTextDetail
e is MessageContentTextDetail
错误:
object
error.include()
Section titled “error.include()”包含: (
e) =>e is ErrorEvent
e is ErrorEvent
关闭:
object
close.include()
Section titled “close.include()”包含: (
e) =>e is CloseEvent
e is CloseEvent
setupComplete
Section titled “setupComplete”设置完成:
object
setupComplete.include()
Section titled “setupComplete.include()”包含: (
e) =>e is SetupCompleteEvent
e is SetupCompleteEvent
已中断:
object
interrupted.include()
Section titled “interrupted.include()”包含: (
e) =>e is InterruptedEvent
e is InterruptedEvent
generationComplete
Section titled “generationComplete”generationComplete:
object
generationComplete.include()
Section titled “generationComplete.include()”包含: (
e) =>e is GenerationCompleteEvent
e is GenerationCompleteEvent
turnComplete
Section titled “turnComplete”turnComplete:
object
turnComplete.include()
Section titled “turnComplete.include()”包含: (
e) =>e is TurnCompleteEvent
e is TurnCompleteEvent