Skip to content

Commit

Permalink
Merge pull request #432 from tryAGI/bot/auto-format_202408120518
Browse files Browse the repository at this point in the history
style:Run dotnet format
  • Loading branch information
github-actions[bot] authored Aug 12, 2024
2 parents eff5998 + 4624e9f commit 868e832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cli/src/Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static async Task<string> GenerateUsingAuthenticatedModelAsync(string pro
modelId = ChatClient.LatestSmartModel.ToValueString();
break;
}

model = new OpenAiChatModel(provider, id: modelId);
break;

Expand All @@ -90,7 +90,7 @@ public static async Task<string> GenerateUsingAuthenticatedModelAsync(string pro
{
var provider = new OpenRouterProvider(apiKey: await File.ReadAllTextAsync(Path.Combine(settingsFolder, "api_key.txt")).ConfigureAwait(false));
var modelId = await File.ReadAllTextAsync(Path.Combine(settingsFolder, "model.txt")).ConfigureAwait(false);
model = new OpenRouterModel(provider, id:modelId);
model = new OpenRouterModel(provider, id: modelId);
break;
}
default:
Expand Down

0 comments on commit 868e832

Please sign in to comment.