Merge pull request #15 from Marco-Zechner/13-tool-calls #23
Annotations
10 warnings
build:
OpenAI.ChatGPT.Net/InstanceTools/ToolCallHandlerWrapper.cs#L48
Nullability of reference types in return type of 'List<Tool>? ToolCallHandlerWrapper.OnGetAvailableTools(List<Tool>? registeredTools)' doesn't match implicitly implemented member 'List<Tool> IToolCallHandler.OnGetAvailableTools(List<Tool>? registeredTools)' (possibly because of nullability attributes).
|
build:
OpenAI.ChatGPT.Net/JsonConverters/ChatGPTRequestConverter.cs#L178
Argument of type 'List<IMessage?>' cannot be used for parameter 'Messages' of type 'List<IMessage>' in 'ChatGPTRequest.ChatGPTRequest(List<IMessage> Messages, string Model, double? FrequencyPenalty = null, Dictionary<int, int>? LogitBias = null, bool? Logprobs = null, int? TopLogprobs = null, long? MaxTokens = null, long? N = null, double? PresencePenalty = null, string[]? Stop = null, bool? Stream = null, StreamOptions? StreamOptions = null, double? Temperature = null, double? TopP = null, List<Tool>? Tools = null, ToolChoice? ToolChoice = null, bool? ParallelToolCalls = null, string? User = null)' due to differences in the nullability of reference types.
|
build:
OpenAI.ChatGPT.Net/GPTModelCompletions.cs#L106
Possible null reference return.
|
build:
OpenAI.ChatGPT.Net/GPTModelCompletions.cs#L104
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:
OpenAI.ChatGPT.Net/GPTModelCompletions.cs#L119
Possible null reference return.
|
build:
OpenAI.ChatGPT.Net/GPTModelCompletions.cs#L117
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:
OpenAI.ChatGPT.Net/GPTModelToolLogic.cs#L86
Unreachable code detected
|
build:
OpenAI.ChatGPT.Net/GPTModelToolLogic.cs#L357
Unreachable code detected
|
build:
OpenAI.ChatGPT.Net.IntegrationTests/AddTools.cs#L235
Nullability of reference types in type of parameter 'registeredTools' of 'List<Tool> MyToolHandler.OnGetAvailableTools(List<Tool> registeredTools)' doesn't match implicitly implemented member 'List<Tool> IToolCallHandler.OnGetAvailableTools(List<Tool>? registeredTools)' (possibly because of nullability attributes).
|
build:
OpenAI.ChatGPT.Net/InstanceTools/ToolCallHandlerWrapper.cs#L48
Nullability of reference types in return type of 'List<Tool>? ToolCallHandlerWrapper.OnGetAvailableTools(List<Tool>? registeredTools)' doesn't match implicitly implemented member 'List<Tool> IToolCallHandler.OnGetAvailableTools(List<Tool>? registeredTools)' (possibly because of nullability attributes).
|