AutoTweaker API
Toggle table of contents
0.2.0-alpha.1+d0e71621
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
AutoTweaker API
AutoTweaker API
/
io.github.autotweaker.api.types.agent
/
AgentMessage
/
Assistant
Assistant
jvm
@
Serializable
data
class
Assistant
(
val
id
:
UUID
,
val
timestamp
:
Instant
,
val
reasoning
:
String
?
,
val
content
:
String
?
,
val
model
:
UUID
,
val
usage
:
Usage
?
)
:
AgentMessage
(
source
)
表示一条 LLM 返回的消息。
Members
Constructors
Assistant
Link copied to clipboard
jvm
constructor
(
id
:
UUID
,
timestamp
:
Instant
,
reasoning
:
String
?
,
content
:
String
?
,
model
:
UUID
,
usage
:
Usage
?
)
Properties
content
Link copied to clipboard
jvm
val
content
:
String
?
LLM 响应正文。
id
Link copied to clipboard
jvm
@
Serializable
(
with
=
UuidSerializer::class
)
open
override
val
id
:
UUID
消息 id,每种消息都有。
model
Link copied to clipboard
jvm
@
Serializable
(
with
=
UuidSerializer::class
)
val
model
:
UUID
请求使用的模型 id。
reasoning
Link copied to clipboard
jvm
val
reasoning
:
String
?
LLM 思维链。
timestamp
Link copied to clipboard
jvm
open
override
val
timestamp
:
Instant
消息时间戳,每种消息都有。
usage
Link copied to clipboard
jvm
val
usage
:
Usage
?
用量信息。