fix: Bugfix Cohere streaming stop_reason #135
pull-request.yml
on: pull_request
Build and test
/
Build, test and publish
5m 55s
Annotations
11 warnings
Build and test / Build, test and publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build and test / Build, test and publish:
src/Providers/OpenAI/src/ImageGeneration/OpenAiImageGenerationSettings.cs#L15
The property name 'Default' is confusing given the existence of method 'GetDefault'. Rename or remove one of these members. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/ImageGeneration/BedrockImageSettings.cs#L41
The member 'BedrockImageSettings.Calculate(ImageGenerationSettings?, ImageGenerationSettings?, ImageGenerationSettings?)' does not hide an accessible member. The new keyword is not required.
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/Chat/AmazonTitanChatModel.cs#L52
Specify a culture or use an invariant version to avoid implicit dependency on current culture (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1311)
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/Chat/AmazonTitanChatModel.cs#L52
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'AmazonTitanChatModel.GenerateAsync(ChatRequest,
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/Chat/MetaLlama2ChatModel.cs#L52
Specify a culture or use an invariant version to avoid implicit dependency on current culture (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1311)
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/Chat/MetaLlama2ChatModel.cs#L52
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'MetaLlama2ChatModel.GenerateAsync(ChatRequest,
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/Chat/AmazonTitanChatModel.cs#L39
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/Chat/MetaLlama2ChatModel.cs#L52
'finished' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/Chat/MetaLlama2ChatModel.cs#L39
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build and test / Build, test and publish:
src/Providers/Amazon.Bedrock/src/Chat/AnthropicClaudeChatModel.cs#L52
Specify a culture or use an invariant version to avoid implicit dependency on current culture (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1311)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
nuget-packages
Expired
|
13.9 MB |
|