Skip to content

Commit

Permalink
Fixed Gemini
Browse files Browse the repository at this point in the history
  • Loading branch information
valnoxy committed Aug 20, 2024
1 parent f52e893 commit 28cfbc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions GoAwayEdge/Common/Runtime/ArgumentParse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ public static AiProvider ParseAiProvider(string argument)
{
"copilot" => AiProvider.Copilot,
"chatgpt" => AiProvider.ChatGPT,
"gemini" => AiProvider.Gemini,
"custom" => AiProvider.Custom,
_ => AiProvider.Copilot // Fallback channel
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ private void CopilotProviderBox_OnSelectionChanged(object sender, SelectionChang
FlushSettings();
break;
case 2:
Configuration.Provider = AiProvider.Gemini;
CustomSearchPanel.Visibility = Visibility.Collapsed;
FlushSettings();
break;
case 3:
Configuration.Provider = AiProvider.Custom;
CustomSearchPanel.Visibility = Visibility.Visible;
break;
Expand Down

0 comments on commit 28cfbc8

Please sign in to comment.