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

InterruptRequested

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_idstr回复标识(类型 `str`)。The reply id.
源码Source agentscope/tui/_chat.py:458–460
基于官方固定版本源码静态生成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.