We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 181a961 commit 16af659Copy full SHA for 16af659
1 file changed
test/MapperAI.Test/Utils/Mocks/MapperConfigurationMock.cs
@@ -9,7 +9,7 @@ public static MapperClientConfiguration GetConfig(ModelType modelType)
9
{
10
return modelType switch
11
12
- ModelType.Gemini => new MapperClientConfiguration("AIzaSyDpGWRkZw53pjgI0rs5LkyT5H2PDJG1lAo", modelType, "gemini-2.0-flash"),
+ ModelType.Gemini => new MapperClientConfiguration(Environment.GetEnvironmentVariable("GEMINI_KEY"), modelType, "gemini-2.0-flash"),
13
ModelType.ChatGpt => new MapperClientConfiguration(Environment.GetEnvironmentVariable("CHATGPT_KEY"), modelType, "gpt-4"),
14
ModelType.Ollama => new MapperClientConfiguration(null, modelType, "ollama"),
15
_ => throw new ArgumentOutOfRangeException(nameof(modelType), modelType, null)
0 commit comments