Formatting

This commit is contained in:
Thorsten Sommer 2026-02-20 15:17:02 +01:00
parent 32aa08e0c9
commit f70079356d
No known key found for this signature in database
GPG Key ID: B0B7E2FC074BF1F5

View File

@ -19,9 +19,7 @@ public sealed record GoogleEmbeddingResponse
}
if (reader.TokenType == JsonTokenType.StartArray)
{
return JsonSerializer.Deserialize<List<GoogleEmbedding>>(ref reader, options) ?? new();
}
throw new JsonException("Expected object or array for embedding.");
}