diff --git a/llm/llama.go b/llm/llama.go index bd5c3bb7..a51ae86e 100644 --- a/llm/llama.go +++ b/llm/llama.go @@ -668,9 +668,6 @@ func (llm *llama) Decode(ctx context.Context, tokens []int) (string, error) { return "", fmt.Errorf("unmarshal encode response: %w", err) } - // decoded content contains a leading whitespace - decoded.Content, _ = strings.CutPrefix(decoded.Content, "") - return decoded.Content, nil }