Skip to content

feat(GoogleGemini): added api usage with costs #361

feat(GoogleGemini): added api usage with costs

feat(GoogleGemini): added api usage with costs #361

Triggered via pull request May 22, 2024 13:01
Status Failure
Total duration 3m 6s
Artifacts

pull-request.yml

on: pull_request
Build and test  /  Build, test and publish
2m 54s
Build and test / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L28
The type or namespace name 'ChatRequest' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L26
The type or namespace name 'ChatRoundResponse' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L28
The type or namespace name 'ChatRequest' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L26
The type or namespace name 'ChatRoundResponse' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L28
The type or namespace name 'ChatRequest' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L26
The type or namespace name 'ChatRoundResponse' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L28
The type or namespace name 'ChatRequest' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L26
The type or namespace name 'ChatRoundResponse' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L28
The type or namespace name 'ChatRequest' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Reka/src/Sdk/HttpClientExtensions.cs#L26
The type or namespace name 'ChatRoundResponse' could not be found (are you missing a using directive or an assembly reference?)
Build and test / Build, test and publish: src/Providers/Google/src/Extensions/GoogleGeminiExtensions.cs#L30
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
Build and test / Build, test and publish: src/Providers/Google/src/Extensions/GoogleGeminiExtensions.cs#L30
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Build and test / Build, test and publish: src/Providers/Google/src/Extensions/GoogleGeminiExtensions.cs#L30
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
Build and test / Build, test and publish: src/Providers/Google/src/Extensions/GoogleGeminiExtensions.cs#L30
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Build and test / Build, test and publish: src/Providers/Google/src/Extensions/GoogleGeminiExtensions.cs#L30
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
Build and test / Build, test and publish: src/Providers/Google/src/Extensions/GoogleGeminiExtensions.cs#L30
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Build and test / Build, test and publish: src/Providers/Google/src/Extensions/GoogleGeminiExtensions.cs#L30
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
Build and test / Build, test and publish: src/Providers/Google/src/Extensions/GoogleGeminiExtensions.cs#L30
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.