Skip to content

Add a new translator module. Add IOpenAiClient interface. Update to 2… #39

Add a new translator module. Add IOpenAiClient interface. Update to 2…

Add a new translator module. Add IOpenAiClient interface. Update to 2… #39

Triggered via push June 17, 2023 06:53
Status Success
Total duration 1m 8s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: OpenAI.ChatGpt/IOpenAiClient.cs#L85
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
build: OpenAI.ChatGpt/IOpenAiClient.cs#L85
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
build: OpenAI.ChatGpt.Modules.Translator/ChatGPTTranslatorService.cs#L58
Possible null reference argument for parameter 'sourceLanguage' in 'string ChatGPTTranslatorService.GetPrompt(string sourceLanguage, string targetLanguage)'.
build: OpenAI.ChatGpt.Modules.Translator/ChatGPTTranslatorService.cs#L58
Possible null reference argument for parameter 'targetLanguage' in 'string ChatGPTTranslatorService.GetPrompt(string sourceLanguage, string targetLanguage)'.
build: OpenAI.ChatGpt.Modules.Translator/ChatGPTTranslatorService.cs#L58
Possible null reference argument for parameter 'sourceLanguage' in 'string ChatGPTTranslatorService.GetPrompt(string sourceLanguage, string targetLanguage)'.
build: OpenAI.ChatGpt.Modules.Translator/ChatGPTTranslatorService.cs#L58
Possible null reference argument for parameter 'targetLanguage' in 'string ChatGPTTranslatorService.GetPrompt(string sourceLanguage, string targetLanguage)'.
build: tests/OpenAI.ChatGpt.Modules.Translator.UnitTests/ChatGptTranslatorServiceTests.cs#L26
Cannot convert null literal to non-nullable reference type.
build: OpenAI.ChatGpt/IOpenAiClient.cs#L85
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
build: OpenAI.ChatGpt/IOpenAiClient.cs#L85
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
build: OpenAI.ChatGpt.Modules.Translator/ChatGPTTranslatorService.cs#L58
Possible null reference argument for parameter 'sourceLanguage' in 'string ChatGPTTranslatorService.GetPrompt(string sourceLanguage, string targetLanguage)'.