mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/input
ChatMessage
Interface ChatMessage
interface
ChatMessage
{
content
?:
string
|
Record
<
string
,
unknown
>
[]
|
null
;
name
?:
string
;
reasoning
?:
string
;
reasoning_content
?:
string
;
role
:
string
;
tool_call_id
?:
string
;
tool_calls
?:
ToolCall
[]
;
}
Index
Properties
content?
name?
reasoning?
reasoning_
content?
role
tool_
call_
id?
tool_
calls?
Properties
Optional
content
content
?:
string
|
Record
<
string
,
unknown
>
[]
|
null
Optional
name
name
?:
string
Optional
reasoning
reasoning
?:
string
Optional
reasoning_
content
reasoning_content
?:
string
role
role
:
string
Optional
tool_
call_
id
tool_call_id
?:
string
Optional
tool_
calls
tool_calls
?:
ToolCall
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
content
name
reasoning
reasoning_
content
role
tool_
call_
id
tool_
calls
Documentation
mlx-bun library API
Loading...