Compare commits

..

2 commits

Author SHA1 Message Date
Alexey Skobkin 82c4d953d4 Merge pull request 'Rolling back summarizing to Mistral' (#23) from change-summarize-model-mistral into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #23
2024-05-06 00:29:55 +00:00
Alexey Skobkin d65f61db82 Rolling back summarizing to Mistral
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-05-06 00:28:41 +00:00

View file

@ -259,7 +259,7 @@ func (b *Bot) summarizeHandler(bot *telego.Bot, update telego.Update) {
slog.Error("Cannot retrieve an article using extractor", "error", err) slog.Error("Cannot retrieve an article using extractor", "error", err)
} }
llmReply, err := b.llm.Summarize(article.Text, llm.ModelLlama3Uncensored) llmReply, err := b.llm.Summarize(article.Text, llm.ModelMistralUncensored)
if err != nil { if err != nil {
slog.Error("Cannot get reply from LLM connector") slog.Error("Cannot get reply from LLM connector")