chore: run dotnet format

This commit is contained in:
Stevan Freeborn
2025-02-09 13:53:56 -06:00
parent 79f603c63d
commit e6ee090b05
12 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ namespace AltGen.API.Common;
class AltGenException(string message) : Exception(message)
{
}
}
@@ -11,4 +11,4 @@ static class ValidationResultsExtensions
static r => r.Select(static e => e.ErrorMessage!).ToArray()
);
}
}
}
+1 -1
View File
@@ -44,4 +44,4 @@ record GenerateRequest(
}
}
}
}
}
+1 -1
View File
@@ -1,3 +1,3 @@
namespace AltGen.API.Generate;
record GenerateResponse(string AltText);
record GenerateResponse(string AltText);
@@ -1,3 +1,3 @@
namespace AltGen.API.Generate.Providers.Gemini;
record Candidate(Content Content);
record Candidate(Content Content);
@@ -1,3 +1,3 @@
namespace AltGen.API.Generate.Providers.Gemini;
record Content(Part[] Parts, string Role);
record Content(Part[] Parts, string Role);
@@ -8,4 +8,4 @@ class GeminiAltTextProvider(IGeminiService geminiService) : IAltTextProvider
{
return _geminiService.GenerateContentAsync(providerKey, mimeType, image);
}
}
}
@@ -3,4 +3,4 @@ namespace AltGen.API.Generate.Providers.Gemini;
record GeminiRequest(
Content SystemInstruction,
Content[] Contents
);
);
@@ -1,3 +1,3 @@
namespace AltGen.API.Generate.Providers.Gemini;
record GeminiResponse(Candidate[] Candidates);
record GeminiResponse(Candidate[] Candidates);
@@ -3,4 +3,4 @@ namespace AltGen.API.Generate.Providers.Gemini;
interface IGeminiService
{
Task<string> GenerateContentAsync(string providerKey, string mimeType, MemoryStream image);
}
}
@@ -8,4 +8,4 @@ static class LLMProvider
{
return provider is Gemini;
}
}
}
+1 -1
View File
@@ -10,4 +10,4 @@ global using AltGen.API.Generate;
global using AltGen.API.Generate.Providers;
global using AltGen.API.Generate.Providers.Gemini;
global using Microsoft.AspNetCore.Mvc;
global using Microsoft.AspNetCore.Mvc;