feat: success console app => api => gemini

This commit is contained in:
Stevan Freeborn
2025-03-15 18:44:10 -05:00
parent 414e712f51
commit 45a0ead7d8
9 changed files with 86 additions and 22 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ sealed class AltGenService(HttpClient client) : IAltGenService
{
{ new StringContent(req.Provider), "provider" },
{ new StringContent(req.ProviderKey), "providerKey" },
{ new ByteArrayContent(req.Image), "file", req.FileName }
{ byteContent, "file", req.FileName }
}
};
@@ -41,4 +41,4 @@ record AltTextResponse(string AltText);
class AltTextException(string message) : Exception(message)
{
}
}