@yuantest/playwright - v1.2.1
GitHub
npm
正在准备搜索索引...
AgentResult
接口 AgentResult<T>
interface
AgentResult
<
T
>
{
success
:
boolean
;
data
?:
T
;
error
?:
string
;
duration
:
number
;
agentType
:
AgentType
;
model
?:
string
;
tokenUsage
?:
{
promptTokens
:
number
;
completionTokens
:
number
;
totalTokens
:
number
;
}
;
}
类型参数
T
索引
属性
success
data?
error?
duration
agent
Type
model?
token
Usage?
属性
success
success
:
boolean
可选
data
data
?:
T
可选
error
error
?:
string
duration
duration
:
number
agent
Type
agentType
:
AgentType
可选
model
model
?:
string
可选
token
Usage
tokenUsage
?:
{
promptTokens
:
number
;
completionTokens
:
number
;
totalTokens
:
number
;
}
显示设置
成员可见性
受保护
继承
配色
自动
浅色
深色
目录
属性
success
data
error
duration
agent
Type
model
token
Usage
GitHub
GitHub
npm
@yuantest/playwright - v1.2.1
加载中……