Skip to content

Commit

Permalink
Use cutting edge preview version hoping it's better with function cal…
Browse files Browse the repository at this point in the history
…ling, reasoning and multi modal capabilities #48 #45

(There's a 0827 /2024 Aug 27/ experimental model vs the current stable is 0514 May 14th)
  • Loading branch information
MrCsabaToth committed Sep 3, 2024
1 parent 8abf0a2 commit d2b6d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ai/service/ai_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AiService with ToolsMixin {
final preferences = GetIt.I.get<PreferencesService>();
final modelType = preferences.fastLlmMode ? 'flash' : 'pro';
return GenerativeModel(
model: 'gemini-1.5-$modelType',
model: 'gemini-1.5-$modelType-preview',
apiKey: preferences.geminiApiKey,
safetySettings: [
SafetySetting(
Expand Down

0 comments on commit d2b6d11

Please sign in to comment.