feat: success console app => api => gemini
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user