From 0b67582db734538998748d306b7072324606f1ac Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Tue, 21 Jan 2025 15:11:23 +0900 Subject: [PATCH] chore: update generate.go begining -> beginning --- go/ai/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/ai/generate.go b/go/ai/generate.go index 5a02b03ca..ae1edf451 100644 --- a/go/ai/generate.go +++ b/go/ai/generate.go @@ -153,7 +153,7 @@ func WithMessages(messages ...*Message) GenerateOption { } } -// WithHistory adds provided history messages to the begining of ModelRequest.Messages. +// WithHistory adds provided history messages to the beginning of ModelRequest.Messages. // History messages will always be put first in the list of messages, with the // exception of system prompt which will always be first. // [WithMessages] and [WithTextPrompt] will insert messages after system prompt and history.