mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-05 03:12:10 +02:00
refactor(ts): make port effect native
This commit is contained in:
parent
2868ced2d3
commit
b6759e75df
113 changed files with 4140 additions and 4554 deletions
|
|
@ -353,12 +353,12 @@ const ChatMessageSchema = S.Struct({
|
|||
id: S.String,
|
||||
role: S.Union([S.Literal("user"), S.Literal("assistant"), S.Literal("system")]),
|
||||
content: S.String,
|
||||
timestamp: S.Number,
|
||||
timestamp: S.Finite,
|
||||
isStreaming: S.optionalKey(S.Boolean),
|
||||
metadata: S.optionalKey(S.Struct({
|
||||
model: S.optionalKey(S.String),
|
||||
inTokens: S.optionalKey(S.Number),
|
||||
outTokens: S.optionalKey(S.Number),
|
||||
inTokens: S.optionalKey(S.Finite),
|
||||
outTokens: S.optionalKey(S.Finite),
|
||||
})),
|
||||
agentPhases: S.optionalKey(S.Struct({
|
||||
think: S.String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue