Skip to content

Commit

Permalink
#3057 add: gpt-4o-mini to OpenAI models
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Jul 21, 2024
1 parent 940ef62 commit d5094ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# QOwnNotes Changelog

## 24.7.3
- `gpt-4o-mini` was added to the list of available OpenAI models
(for [#3057](https://github.com/pbek/QOwnNotes/issues/3057))

## 24.7.2
- It was made more clear in the settings dialog how the AI integration can be used
(for [#3055](https://github.com/pbek/QOwnNotes/issues/3055))
Expand Down
2 changes: 1 addition & 1 deletion src/services/openaiservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void OpenAiService::deleteInstance() {
void OpenAiService::initializeBackends() {
_backendModels.clear();
_backendModels[QStringLiteral("openai")] =
QStringList{"gpt-4o", "gpt-4-turbo", "gpt-3.5-turbo", "gpt-4"};
QStringList{"gpt-4o", "gpt-4o-mini", "gpt-4-turbo", "gpt-3.5-turbo", "gpt-4"};
_backendModels[QStringLiteral("groq")] =
QStringList{"llama3-70b-8192", "llama3-8b-8192", "llama2-70b-4096", "mixtral-8x7b-32768",
"gemma-7b-it"};
Expand Down

0 comments on commit d5094ae

Please sign in to comment.