Skip to content

CqImageMsgDataModel.subType 数字转 string 避免异常 #64

CqImageMsgDataModel.subType 数字转 string 避免异常

CqImageMsgDataModel.subType 数字转 string 避免异常 #64

Triggered via pull request August 18, 2024 10:25
Status Success
Total duration 1m 13s
Artifacts 3

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/TestConsole/ApiTest.cs#L22
Dereference of a possibly null reference.
build: src/TestConsole/OpenAiMatchPlugin.cs#L97
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.
build: src/TestConsole/OpenAiMatchPlugin.cs#L46
Non-nullable property 'id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L47
Non-nullable property 'object' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L49
Non-nullable property 'model' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L50
Non-nullable property 'choices' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L51
Non-nullable property 'usage' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L35
Non-nullable property 'text' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L37
Non-nullable property 'logprobs' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L38
Non-nullable property 'finish_reason' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: ".NET 6", ".NET 7", ".NET Standard 2.0". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
.NET 6
544 KB
.NET 7
543 KB
.NET Standard 2.0
540 KB