Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app/MindWork AI Studio/Provider/Google/ProviderGoogle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public override async IAsyncEnumerable<ImageURL> StreamImageCompletion(Provider.
return [];

return modelResponse.Models.Where(model =>
model.Name.StartsWith("models/gemini-", StringComparison.OrdinalIgnoreCase))
model.Name.StartsWith("models/gemini-", StringComparison.OrdinalIgnoreCase) && !model.Name.Contains("embed"))
.Select(n => new Provider.Model(n.Name.Replace("models/", string.Empty), n.DisplayName));
}

Expand All @@ -115,7 +115,8 @@ public override async IAsyncEnumerable<ImageURL> StreamImageCompletion(Provider.
return [];

return modelResponse.Models.Where(model =>
model.Name.StartsWith("models/text-embedding-", StringComparison.InvariantCultureIgnoreCase))
model.Name.StartsWith("models/text-embedding-", StringComparison.OrdinalIgnoreCase) ||
model.Name.StartsWith("models/gemini-embed", StringComparison.OrdinalIgnoreCase))
.Select(n => new Provider.Model(n.Name.Replace("models/", string.Empty), n.DisplayName));
}

Expand Down
4 changes: 3 additions & 1 deletion app/MindWork AI Studio/wwwroot/changelog/v0.9.43.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# v0.9.43, build 218 (2025-05-xx xx:xx UTC)
- Improved the automatic German translation; thanks Peer (`peerschuett`) for contributing.
- Added the ability to select the new Google Gemini embeddings in the embedding configuration.
- Improved the automatic German translation; thanks Peer (`peerschuett`) for contributing.
- Improved Google Gemini LLM model selection by filtering out the new embedding models.