@conciergus/chat - v0.3.1
Preparing search index...
components
MessageMetadataProps
Interface MessageMetadataProps
interface
MessageMetadataProps
{
metadata
?:
{
model
?:
string
;
duration
?:
number
;
totalTokens
?:
number
;
inputTokens
?:
number
;
outputTokens
?:
number
;
cost
?:
number
;
finishReason
?:
string
;
timestamp
?:
string
|
Date
;
reasoning
?:
any
[]
;
sources
?:
any
[]
;
[
key
:
string
]:
any
;
}
;
showDetailed
?:
boolean
;
compact
?:
boolean
;
className
?:
string
;
onCostThreshold
?:
(
cost
:
number
,
threshold
:
number
)
=>
void
;
costWarningThreshold
?:
number
;
[
key
:
string
]:
any
;
}
Indexable
[
key
:
string
]:
any
Index
Properties
metadata?
show
Detailed?
compact?
class
Name?
on
Cost
Threshold?
cost
Warning
Threshold?
Properties
Optional
metadata
metadata
?:
{
model
?:
string
;
duration
?:
number
;
totalTokens
?:
number
;
inputTokens
?:
number
;
outputTokens
?:
number
;
cost
?:
number
;
finishReason
?:
string
;
timestamp
?:
string
|
Date
;
reasoning
?:
any
[]
;
sources
?:
any
[]
;
[
key
:
string
]:
any
;
}
Optional
show
Detailed
showDetailed
?:
boolean
Optional
compact
compact
?:
boolean
Optional
class
Name
className
?:
string
Optional
on
Cost
Threshold
onCostThreshold
?:
(
cost
:
number
,
threshold
:
number
)
=>
void
Optional
cost
Warning
Threshold
costWarningThreshold
?:
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
metadata
show
Detailed
compact
class
Name
on
Cost
Threshold
cost
Warning
Threshold
@conciergus/chat - v0.3.1
Loading...