Request
public record Request( @JsonProperty("time") @JsonPropertyDescription("time in seconds") Double time, @JsonProperty("text") String text, @JsonProperty("textGone") String textGone )
源码Source
io/agentscope/runtime/sandbox/tools/browser/WaitForTool.java:79–95承载请求数据的记录类型。位于 io.agentscope.runtime.sandbox.tools.browser 包。核心成员包括 time、text、textGone、Request。
A record in io.agentscope.runtime.sandbox.tools.browser that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.runtime.sandbox.tools.browser.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
time | Double | 执行时间相关操作。 Performs the time operation. |
text | String | 执行文本相关操作。 Performs the text operation. |
textGone | String | 执行 `textGone` 方法。 Performs the text gone operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public Request(Double time, String text, String textGone) | 初始化 `Request` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
time
Double time执行时间相关操作。
Performs the time operation.
源码Source
io/agentscope/runtime/sandbox/tools/browser/WaitForTool.java:79–95text
String text执行文本相关操作。
Performs the text operation.
源码Source
io/agentscope/runtime/sandbox/tools/browser/WaitForTool.java:79–95textGone
String textGone执行 textGone 方法。
Performs the text gone operation.
源码Source
io/agentscope/runtime/sandbox/tools/browser/WaitForTool.java:79–95构造器详情Constructor Detail
Request
public Request(Double time, String text, String textGone)
初始化 Request 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
time | Double | 时间(类型 `Double`)。The time. |
text | String | 文本(类型 `String`)。The text. |
textGone | String | 文本 Gone(类型 `String`)。The text gone. |
源码Source
io/agentscope/runtime/sandbox/tools/browser/WaitForTool.java:84–94