Add thought signature support for Microsoft.Extensions.AI #88
Annotations
10 errors and 10 warnings
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L180
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L618
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L606
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L180
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L618
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L606
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L180
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L618
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L606
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI.Microsoft/Extensions/MicrosoftExtensions.cs#L180
'AdditionalPropertiesKeys' does not contain a definition for 'ThoughtSignature'
|
|
Build:
src/GenerativeAI/Types/Batch/BatchJobResponseConverter.cs#L64
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
|
|
Build:
src/GenerativeAI/Types/Batch/BatchJobResponseConverter.cs#L82
In externally visible method 'void BatchJobResponseConverter.Write(Utf8JsonWriter writer, BatchJobResponse value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/GenerativeAI/Types/Batch/BatchJobResponseConverter.cs#L84
In externally visible method 'void BatchJobResponseConverter.Write(Utf8JsonWriter writer, BatchJobResponse value, JsonSerializerOptions options)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/GenerativeAI/Clients/BatchClient.cs#L183
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
|
Build:
src/GenerativeAI/Clients/BatchClient.cs#L52
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
|
Build:
src/GenerativeAI/Platforms/VertextPlatformAdapter.cs#L331
In member string VertextPlatformAdapter.GetBaseUrl(bool appendVersion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true), change parameter name appendVersion to appendVesion in order to match the identifier as it has been declared in string IPlatformAdapter.GetBaseUrl(bool appendVesion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
|
Build:
src/GenerativeAI/Platforms/GoogleAIPlatformAdapter.cs#L219
In member string GoogleAIPlatformAdapter.GetBaseUrl(bool appendVersion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true), change parameter name appendVersion to appendVesion in order to match the identifier as it has been declared in string IPlatformAdapter.GetBaseUrl(bool appendVesion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
|
Build:
src/GenerativeAI/Core/IPlatformAdapter.cs#L109
Parameter 'appendLocation' has no matching param tag in the XML comment for 'IPlatformAdapter.GetFullyQualifiedModelName(string, bool)' (but other parameters do)
|
|
Build:
src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L43
Missing XML comment for publicly visible type or member 'JobStateConverter.Write(Utf8JsonWriter, JobState, JsonSerializerOptions)'
|
|
Build:
src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L13
Missing XML comment for publicly visible type or member 'JobStateConverter.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)'
|
Loading