Skip to content

Commit

Permalink
Merge pull request #75 from CommandDash/rel-0.0.9
Browse files Browse the repository at this point in the history
Rel 0.0.9
  • Loading branch information
samyakkkk authored Jun 2, 2024
2 parents 1965ad0 + 65349ee commit 5b3700a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions commanddash/lib/repositories/gemini_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class GeminiRepository implements GenerationRepository {
) async {
late final GenerateContentResponse? response;
try {
response = await _getGeminiFlashCompletionResponse(
'gemini-1.5-flash-latest', messages);
response =
await _getGeminiFlashCompletionResponse('gemini-1.5-flash', messages);
} on ServerException catch (e) {
if (e.message.contains(
'found for API version v1beta, or is not supported for GenerateContent')) {
Expand Down Expand Up @@ -164,7 +164,7 @@ class GeminiRepository implements GenerationRepository {

try {
response = await _getGeminiFlashChatCompletionResponse(
'gemini-1.5-flash-latest', messages, lastMessage);
'gemini-1.5-flash', messages, lastMessage);
} on ServerException catch (e) {
if (e.message.contains(
'found for API version v1beta, or is not supported for GenerateContent')) {
Expand Down
2 changes: 1 addition & 1 deletion commanddash/lib/runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class VersionCommand extends Command {
@override
void run() {
/// It is not possible to fetch version from pubspec.yaml hence assigning manually
print('0.0.8');
print('0.0.9');
}
}

Expand Down
2 changes: 1 addition & 1 deletion commanddash/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: commanddash
description: CLI enhancments to Dash-AI
version: 0.0.8
version: 0.0.9
repository: https://github.com/Welltested-AI/commanddash

environment:
Expand Down

0 comments on commit 5b3700a

Please sign in to comment.