类class
agentscope.tuiInterruptRequested
class InterruptRequested(Message)
源码Source
agentscope/tui/_chat.py:457–460中断 Requested,为框架提供通用类型与基础能力。位于 agentscope.tui 包,继承自 Message。
A class in agentscope.tui that provides shared types and foundational utilities. Declared in agentscope.tui. Extends Message.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
def __init__(reply_id: str) -> None | 初始化 `InterruptRequested` 实例。 Creates a new instance. |
构造器详情Constructor Detail
InterruptRequested
def __init__(reply_id: str) -> None
初始化 InterruptRequested 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
reply_id | str | 回复标识(类型 `str`)。The reply id. |
源码Source
agentscope/tui/_chat.py:458–460