Add a new translator module. Add IOpenAiClient interface. Update to 2… #39
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)'.
|