Skip to content

Commit f51f9e7

Browse files
authored
Merge pull request #1637 from ksylvan/0719-add-mistral-to-list-of-raw-mode-models
chore: update `NeedsRawMode` to include `mistral` prefix for Ollama
2 parents 1a7bb27 + 6347578 commit f51f9e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/plugins/ai/ollama/ollama.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ func (o *Client) NeedsRawMode(modelName string) bool {
160160
ollamaPrefixes := []string{
161161
"llama3",
162162
"llama2",
163+
"mistral",
163164
}
164165
for _, prefix := range ollamaPrefixes {
165166
if strings.HasPrefix(modelName, prefix) {

0 commit comments

Comments
 (0)