aigentic
0.4.0-SNAPSHOT
common
core
/
community.flock.aigentic.core.dsl
/
AgentConfig
Agent
Config
class
AgentConfig
<
I
:
Any
,
O
:
Any
>
:
Config
<
Agent
<
I
,
O
>
>
Members
Members & Extensions
Constructors
Agent
Config
Link copied to clipboard
constructor
(
)
Properties
response
Parameter
Link copied to clipboard
var
responseParameter
:
Parameter
?
tools
Link copied to clipboard
val
tools
:
MutableList
<
Tool
>
Functions
add
Tool
Link copied to clipboard
fun
AgentConfig
<
I
,
O
>
.
addTool
(
tool
:
Tool
)
inline
fun
<
TI
:
Any
,
TO
:
Any
>
AgentConfig
<
I
,
O
>
.
addTool
(
tool
:
TypedTool
<
TI
,
TO
>
)
inline
fun
<
TI
:
Any
,
TO
:
Any
>
AgentConfig
<
I
,
O
>
.
addTool
(
name
:
String
,
description
:
String
?
=
null
,
noinline
handler
:
suspend
(
TI
)
->
TO
)
build
Link copied to clipboard
open
override
fun
build
(
)
:
Agent
<
I
,
O
>
builder
Property
Missing
Error
Message
Link copied to clipboard
inline
fun
<
T
>
Config
<
T
>
.
builderPropertyMissingErrorMessage
(
fieldName
:
String
,
setterName
:
String
)
:
(
)
->
String
context
Link copied to clipboard
fun
AgentConfig
<
I
,
O
>
.
context
(
contextConfig
:
ContextConfig
.
(
)
->
Unit
)
:
List
<
Context
>
model
Link copied to clipboard
fun
AgentConfig
<
I
,
O
>
.
model
(
model
:
Model
)
platform
Link copied to clipboard
fun
AgentConfig
<
I
,
O
>
.
platform
(
platform
:
Platform
)
system
Prompt
Link copied to clipboard
fun
AgentConfig
<
I
,
O
>
.
systemPrompt
(
systemPromptBuilder
:
SystemPromptBuilder
)
tags
Link copied to clipboard
fun
AgentConfig
<
I
,
O
>
.
tags
(
tag
:
String
)
:
Boolean
task
Link copied to clipboard
fun
AgentConfig
<
I
,
O
>
.
task
(
description
:
String
,
taskConfig
:
TaskConfig
.
(
)
->
Unit
)
:
TaskConfig