Skip to content

fix: antiprompt does not work in stateless executor. #39

fix: antiprompt does not work in stateless executor.

fix: antiprompt does not work in stateless executor. #39

Triggered via pull request August 7, 2023 16:17
Status Success
Total duration 20m 12s
Artifacts

main.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

45 warnings
Test (linux-release)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/OldVersion/LLamaParams.cs#L61
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/OldVersion/LLamaParams.cs#L67
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L236
Dereference of a possibly null reference.
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L172
Non-nullable field '_embed_inp' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L422
Possible null reference argument for parameter 'prompt' in 'LLamaModel LLamaModel.WithPrompt(string prompt, string encoding = "UTF-8")'.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L45
Possible null reference assignment.
Test (linux-release): LLama/LLamaInstructExecutor.cs#L53
Possible null reference assignment.
Test (linux-release): LLama/LLamaStatelessExecutor.cs#L126
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.
Test (linux-debug)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (linux-debug): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/OldVersion/LLamaParams.cs#L61
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/OldVersion/LLamaParams.cs#L67
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/Common/Logger.cs#L38
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/Common/Logger.cs#L72
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/Common/Logger.cs#L116
Dereference of a possibly null reference.
Test (linux-debug): LLama/Common/Logger.cs#L133
Dereference of a possibly null reference.
Test (linux-debug): LLama/Common/Logger.cs#L150
Dereference of a possibly null reference.
Test (linux-debug): LLama/LLamaStatelessExecutor.cs#L126
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.
Test (windows-release)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-release): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaParams.cs#L61
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaParams.cs#L67
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaModel.cs#L236
Dereference of a possibly null reference.
Test (windows-release): LLama/OldVersion/LLamaModel.cs#L172
Non-nullable field '_embed_inp' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Test (windows-release): LLama/OldVersion/LLamaModel.cs#L422
Possible null reference argument for parameter 'prompt' in 'LLamaModel LLamaModel.WithPrompt(string prompt, string encoding = "UTF-8")'.
Test (windows-release): LLama/LLamaStatelessExecutor.cs#L126
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.
Test (windows-release): LLama/Common/Logger.cs#L38
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/Common/Logger.cs#L72
Cannot convert null literal to non-nullable reference type.
Test (windows-debug)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/OldVersion/LLamaParams.cs#L61
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/OldVersion/LLamaParams.cs#L67
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L236
Dereference of a possibly null reference.
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L172
Non-nullable field '_embed_inp' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L422
Possible null reference argument for parameter 'prompt' in 'LLamaModel LLamaModel.WithPrompt(string prompt, string encoding = "UTF-8")'.
Test (windows-debug): LLama/LLamaStatelessExecutor.cs#L126
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.
Test (windows-debug): LLama/LLamaInteractExecutor.cs#L45
Possible null reference assignment.
Test (windows-debug): LLama/LLamaInteractExecutor.cs#L75
Converting null literal or possible null value to non-nullable type.
Test (windows-debug)
Failed to restore: The operation cannot be completed in timeout.