@nickyzj2023/utils
Preparing search index...
ai
ChatCompletions
Message
Type Alias Message
type
Message
=
{
content
:
string
|
ContentPart
[]
;
name
?:
string
;
reasoning
?:
string
|
null
;
reasoning_content
?:
string
|
null
;
role
:
"system"
|
"user"
|
"assistant"
|
"tool"
|
"function"
;
tool_call_id
?:
string
;
tool_calls
?:
ToolCall
[]
;
}
Index
Properties
content
name?
reasoning?
reasoning_
content?
role
tool_
call_
id?
tool_
calls?
Properties
content
content
:
string
|
ContentPart
[]
Optional
name
name
?:
string
Optional
reasoning
reasoning
?:
string
|
null
OpenRouter的思考字段
Optional
reasoning_
content
reasoning_content
?:
string
|
null
字节的思考字段
role
role
:
"system"
|
"user"
|
"assistant"
|
"tool"
|
"function"
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
@nickyzj2023/utils
Loading...
OpenRouter的思考字段