File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,13 +141,13 @@ pub struct ChatCompletionTool {
141141pub struct ChatMessage {
142142 /// The role of the author of this message.
143143 pub role : Role ,
144- #[ serde( skip_serializing_if = "Option::is_none" ) ]
145144 /// The content of the message.
145+ #[ serde( skip_serializing_if = "Option::is_none" ) ]
146146 pub content : Option < String > ,
147147 /// The tool calls generated by the model.
148148 #[ serde( skip_serializing_if = "Option::is_none" ) ]
149149 pub tool_calls : Option < Vec < ToolCall > > ,
150- ///
150+ /// An optional name for the participant. Provides the model information to differentiate between participants of the same role.
151151 #[ serde( skip_serializing_if = "Option::is_none" ) ]
152152 pub name : Option < String > ,
153153 /// When responding to a tool call; provide the id of the tool call
You can’t perform that action at this time.
0 commit comments