AS AgentScopeAPI 手册 / API Reference
类class agentscope.realtime

ControlFrameType

class ControlFrameType(StrEnum)
源码Source agentscope/realtime/_transport/_base.py:19–35

Control Frame 类型,处理低延迟的实时语音与多模态交互。位于 agentscope.realtime 包,继承自 StrEnum。

Each one is the wire form of a public :class:RealtimeAgent method, so that a browser can do what a Python caller does directly. Traffic a transport handles for itself — handshakes, playback reports — never reaches the agent and has no member here.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
TEXT—
文本字段。
'text'
USER_CONFIRM—
用户确认字段。
'user_confirm'
INTERRUPT—
请求中断当前执行。
'interrupt'

属性详情Attribute Detail

TEXT

 = 'text'

文本字段。

The TEXT field.

源码Source agentscope/realtime/_transport/_base.py:28

USER_CONFIRM

 = 'user_confirm'

用户确认字段。

The USER CONFIRM field.

源码Source agentscope/realtime/_transport/_base.py:31

INTERRUPT

 = 'interrupt'

请求中断当前执行。

The INTERRUPT field.

源码Source agentscope/realtime/_transport/_base.py:34
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.