Skip to content

Commit e9196ce

Browse files
authored
add prefix to chat completion messages (#4)
1 parent b4a54cb commit e9196ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

chat.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ type ChatCompletionMessage struct {
119119

120120
// For Role=tool prompts this should be set to the ID given in the assistant's prior request to call a tool.
121121
ToolCallID string `json:"tool_call_id,omitempty"`
122+
123+
// Messari custom fields
124+
Prefix bool `json:"prefix"`
122125
}
123126

124127
func (m ChatCompletionMessage) MarshalJSON() ([]byte, error) {

0 commit comments

Comments
 (0)