chore: openai api error message
This commit is contained in:
@@ -188,7 +188,7 @@ const ModelItem: React.FC<ModelItemProps> = forwardRef(
|
||||
if (result?.error) {
|
||||
setTokenResult({
|
||||
error: true,
|
||||
errorMessage: result?.data?.message
|
||||
errorMessage: result?.data?.error?.message
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user