feat: 使用 Azure OpenAI 进行翻译 #340
Merged
Annotations
11 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run dotnet build:
TranslatorLibrary/ArtificialTranslator.cs#L199
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Run dotnet build:
TranslatorLibrary/ChatGPTTranslator.cs#L95
Unreachable code detected
|
Run dotnet build:
OCRLibrary/ImageProcFunc.cs#L207
The variable 'gray' is declared but never used
|
Run dotnet build:
TranslatorLibrary/ArtificialTranslator.cs#L199
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Run dotnet build:
TranslatorLibrary/ChatGPTTranslator.cs#L95
Unreachable code detected
|
Run dotnet build:
KeyboardMouseHookLibrary/KeyboardMouseHook.cs#L81
The variable 'ex' is declared but never used
|
Run dotnet build:
KeyboardMouseHookLibrary/GlobalHook.cs#L95
The variable 'err' is declared but never used
|
Run dotnet build:
KeyboardMouseHookLibrary/GlobalHook.cs#L116
The variable 'err2' is declared but never used
|
Run dotnet build:
KeyboardMouseHookLibrary/GlobalHook.cs#L95
The variable 'err' is declared but never used
|
Run dotnet build:
KeyboardMouseHookLibrary/GlobalHook.cs#L116
The variable 'err2' is declared but never used
|
Loading