类class
agentscope.realtimeModelErrorEvent
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 |
|---|---|---|---|
code | str | `code` 字段。 | '' |
message | str | 消息字段。 | '' |
属性详情Attribute Detail
code
str = ''code 字段。声明为 str。
The code field.
源码Source
agentscope/realtime/_events.py:89message
str = ''消息字段。声明为 str。
The message field.
源码Source
agentscope/realtime/_events.py:90