google-adk-kotlin
Toggle table of contents
1.6.0
common
Target filter
common
Switch theme
Search in API
Skip to content
google-adk-kotlin
google-adk-kotlin-core
/
com.google.adk.kt.agents
/
LoopAgentState
循环(Loop)
代理(Agent)
状态
common
data
class
LoopAgentState
(
val
currentSubAgent
:
String
,
val
timesLooped
:
Int
)
:
AgentState
Persistent state of a
LoopAgent
.
Members
构造函数(Constructors)
Loop
Agent
State
Link copied to clipboard
common
constructor
(
currentSubAgent
:
String
,
timesLooped
:
Int
)
类型
Companion
Link copied to clipboard
common
object
Companion
属性(Properties)
current
Sub
Agent
Link copied to clipboard
common
val
currentSubAgent
:
String
当前或下一个子代理的名称。
times
Looped
Link copied to clipboard
common
val
timesLooped
:
Int
已完成循环迭代的次数。
函数
to
State
Value
Link copied to clipboard
common
open
override
fun
toStateValue
(
)
:
TypedData.MapValue
将状态转换为……
TypedData.MapValue
.