featherbit UI
Gateway rustdoc
Preparing search index...
chat/store
replaceLastAssistant
Function replaceLastAssistant
replaceLastAssistant
(
thread
:
Thread
,
msg
:
{
content
:
string
;
error
?:
string
;
role
:
"assistant"
;
toolCalls
?:
ToolCall
[]
;
}
,
now
:
number
,
)
:
Thread
Replaces a trailing assistant message (streaming in progress) or appends one.
Parameters
thread
:
Thread
msg
:
{
content
:
string
;
error
?:
string
;
role
:
"assistant"
;
toolCalls
?:
ToolCall
[]
}
now
:
number
Returns
Thread
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Gateway rustdoc
featherbit UI
Loading...
Replaces a trailing assistant message (streaming in progress) or appends one.