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
Type validation failed: Value: {"error":{"message":"The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error.","type":"server...
Error at text-chunk: Type validation failed: Value: {"error":{"message":"The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error.","type":"server_error","param":null,"code":null}}.
Error message: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"object"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"id"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"choices"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "number",
"received": "undefined",
"path": [
"created"
],
"message": "Required"
}
]
The part of code that is being reported to have that issue on Sentry:
modelfusion/packages/modelfusion/dist/index.cjs in safeValidateTypes at line 1046:14
try {
const validationResult = schema.validate(value);
if (validationResult.success) {
return validationResult;
}
return {
success: false,
error: new TypeValidationError({
value,
cause: validationResult.error // THIS LINE THAT GIVES ERROR
})
};
} catch (error) {
return {
success: false,
Type validation failed: Value: {"error":{"message":"The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error.","type":"server...
The part of code that is being reported to have that issue on Sentry:
modelfusion/packages/modelfusion/dist/index.cjs in safeValidateTypes at line 1046:14
This is how I am calling in my code:
I am using gpt4o model (supported in my PR), temperature 0.7, maxGenerationTokens 500
The text was updated successfully, but these errors were encountered: