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

ModelErrorEvent

class ModelErrorEvent(ModelEvent)
源码Source agentscope/realtime/_events.py:86–90

模型错误事件,描述执行过程中的事件。位于 agentscope.realtime 包,继承自 ModelEvent。

An error reported by the provider. Declared in agentscope.realtime. Extends ModelEvent.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
codestr
`code` 字段。
''
messagestr
消息字段。
''

属性详情Attribute Detail

code

str = ''

code 字段。声明为 str。

The code field.

源码Source agentscope/realtime/_events.py:89

message

str = ''

消息字段。声明为 str。

The message field.

源码Source agentscope/realtime/_events.py:90
基于官方固定版本源码静态生成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.