Skip to content

Commit 0d508a1

Browse files
fix: pointer to extra fields
1 parent 3a9c552 commit 0d508a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ func (r *ChatCompletionRequest) SetExtraFields(extraFields map[string]any) {
301301
}
302302

303303
// GetExtraFields returns the extra fields set in the request.
304-
func (r *ChatCompletionRequest) GetExtraFields() map[string]any {
304+
func (r ChatCompletionRequest) GetExtraFields() map[string]any {
305305
return r.extraFields
306306
}
307307

0 commit comments

Comments
 (0)