Skip to content

Commit 65cf08b

Browse files
szyhfmeguminnnnnnnnn
authored andcommitted
chat: 修复GetExtraFields()引用
1 parent 0ec1bab commit 65cf08b

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)