koog-agents-optimization
Toggle table of contents
0.1.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
koog-agents-optimization
koog-agents-optimization
/
ai.koog.agents.optimization.training
/
TrainingResources
/
runAgentAttempt
run
Agent
Attempt
val
runAgentAttempt
:
suspend
(
agent
:
GraphAIAgent
<
Input
,
Output
>
,
input
:
Input
)
->
Pair
<
GraphAIAgent
<
Input
,
Output
>
,
Output
>
Runs one agent attempt; returns the (possibly re-prepared) agent and its output.