Skip to content

Commit 16af659

Browse files
committed
to sempre vazando as keys kkkkkk
1 parent 181a961 commit 16af659

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/MapperAI.Test/Utils/Mocks/MapperConfigurationMock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public static MapperClientConfiguration GetConfig(ModelType modelType)
99
{
1010
return modelType switch
1111
{
12-
ModelType.Gemini => new MapperClientConfiguration("AIzaSyDpGWRkZw53pjgI0rs5LkyT5H2PDJG1lAo", modelType, "gemini-2.0-flash"),
12+
ModelType.Gemini => new MapperClientConfiguration(Environment.GetEnvironmentVariable("GEMINI_KEY"), modelType, "gemini-2.0-flash"),
1313
ModelType.ChatGpt => new MapperClientConfiguration(Environment.GetEnvironmentVariable("CHATGPT_KEY"), modelType, "gpt-4"),
1414
ModelType.Ollama => new MapperClientConfiguration(null, modelType, "ollama"),
1515
_ => throw new ArgumentOutOfRangeException(nameof(modelType), modelType, null)

0 commit comments

Comments
 (0)