Merge pull request #95 from teknologi-umum/ai-overhaul #223
Annotations
20 warnings
build
The variable 'exc' is declared but never used
|
build
Possible null reference argument for parameter 'prompt' in 'Task<byte[]> ImageGenerationBot.GenerateImageAsync(string prompt, CancellationToken cancellationToken)'.
|
build
Non-nullable field '_botClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build
Non-nullable field '_currentMessage' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build
Possible null reference argument for parameter 'message' in 'Task<Message?> OpenAI.ChatWithSarcasticBotAsync(ITelegramBotClient botClient, IServiceProvider serviceProvider, Message message, string callSign, CancellationToken cancellationToken)'.
|
build
Field 'BotControllerBase._currentMessage' is never assigned to, and will always have its default value null
|
build
Field 'BotControllerBase._logger' is never assigned to, and will always have its default value null
|
build
Field 'BotControllerBase._botClient' is never assigned to, and will always have its default value null
|
build
The variable 'exc' is declared but never used
|
build:
BotNet.Services/BotCommands/OpenAI.cs#L931
The variable 'exc' is declared but never used
|
build:
BotNet/Controllers/ArtController.cs#L26
Possible null reference argument for parameter 'prompt' in 'Task<byte[]> ImageGenerationBot.GenerateImageAsync(string prompt, CancellationToken cancellationToken)'.
|
build:
BotNet/Controllers/BotControllerBase.cs#L12
Non-nullable field '_botClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build:
BotNet/Controllers/BotControllerBase.cs#L13
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build:
BotNet/Controllers/BotControllerBase.cs#L14
Non-nullable field '_currentMessage' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build:
BotNet/Bot/UpdateHandler.cs#L135
Possible null reference argument for parameter 'message' in 'Task<Message?> OpenAI.ChatWithSarcasticBotAsync(ITelegramBotClient botClient, IServiceProvider serviceProvider, Message message, string callSign, CancellationToken cancellationToken)'.
|
build:
BotNet/Controllers/BotControllerBase.cs#L12
Field 'BotControllerBase._botClient' is never assigned to, and will always have its default value null
|
build:
BotNet/Controllers/BotControllerBase.cs#L14
Field 'BotControllerBase._currentMessage' is never assigned to, and will always have its default value null
|
build:
BotNet/Controllers/BotControllerBase.cs#L13
Field 'BotControllerBase._logger' is never assigned to, and will always have its default value null
|
build:
BotNet.Services/BotCommands/OpenAI.cs#L931
The variable 'exc' is declared but never used
|