You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenAI has started changing the support of features between model releases,
without making announcements. It is not feasible for us to keep updating the
list of which model supports what, and the end-user benefit is rather limited
in the first place. Thus, we now rely on just forwarding the server errors,
the same as we've always done for Azure and Ollama.
Copy file name to clipboardExpand all lines: +llms/+utils/errorMessageCatalog.m
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -61,15 +61,12 @@
61
61
catalog("llms:mustSetFunctionsForCall") ="When no functions are defined, ToolChoice must not be specified.";
62
62
catalog("llms:mustBeMessagesOrTxt") ="Message must be nonempty string, character array, cell array of character vectors, or messageHistory object.";
63
63
catalog("llms:invalidOptionAndValueForModel") ="'{1}' with value '{2}' is not supported for model ""{3}"".";
64
-
catalog("llms:noStructuredOutputForModel") ="Structured output is not supported for model ""{1}"".";
65
64
catalog("llms:noStructuredOutputForAzureDeployment") ="Structured output is not supported for deployment ""{1}"".";
66
65
catalog("llms:structuredOutputRequiresAPI") ="Structured output is not supported for API version ""{1}"". Use APIVersion=""2024-08-01-preview"" or newer.";
67
66
catalog("llms:invalidOptionForModel") ="Invalid argument name {1} for model ""{2}"".";
68
-
catalog("llms:invalidContentTypeForModel") ="{1} is not supported for model ""{2}"".";
69
67
catalog("llms:functionNotAvailableForModel") ="Image editing is not supported for model ""{1}"".";
70
68
catalog("llms:promptLimitCharacter") ="Prompt must contain at most {1} characters for model ""{2}"".";
71
69
catalog("llms:pngExpected") ="Image must be a PNG file (*.png).";
72
-
catalog("llms:warningJsonInstruction") ="When using JSON mode, you must also prompt the model to produce JSON yourself via a system or user message.";
73
70
catalog("llms:apiReturnedError") ="Server returned error indicating: ""{1}""";
74
71
catalog("llms:apiReturnedIncompleteJSON") ="Generated output is not valid JSON: ""{1}""";
75
72
catalog("llms:dimensionsMustBeSmallerThan") ="Dimensions must be less than or equal to {1}.";
0 commit comments