@@ -20,8 +20,8 @@ export type AiplacementCourseassistExplainTextWSResponse = {
2020 prompttext: string; // The prompt text for the AI service.
2121 generatedcontent?: string; // The text generated by AI.
2222 finishreason?: string; // The reason generation was stopped.
23- errorcode ?: number ; // Error code if any.
24- error ?: string; // Error message if any.
23+ error ?: string ; // Error name if any.
24+ errormessage ?: string; // Error message if any.
2525};
2626
2727/**
@@ -46,7 +46,8 @@ export type AiplacementCourseassistSummariseTextWSResponse = {
4646 generatedcontent?: string; // The text generated by AI.
4747 finishreason?: string; // The reason generation was stopped.
4848 errorcode?: number; // Error code if any.
49- error?: string; // Error message if any.
49+ error?: string; // Error name if any.
50+ errormessage?: string; // Error message if any.
5051};
5152
5253/**
@@ -73,7 +74,8 @@ export type AiplacementEditorGenerateImageWSResponse = {
7374 revisedprompt?: string; // Revised prompt generated by the AI.
7475 drafturl?: string; // Draft file URL for the image.
7576 errorcode?: number; // Error code if any.
76- error?: string; // Error message if any.
77+ error?: string; // Error name if any.
78+ errormessage?: string; // Error message if any.
7779};
7880
7981/**
@@ -98,7 +100,8 @@ export type AiplacementEditorGenerateTextWSResponse = {
98100 generatedcontent?: string; // The text generated by AI.
99101 finishreason?: string; // The reason generation was stopped.
100102 errorcode?: number; // Error code if any.
101- error?: string; // Error message if any.
103+ error?: string; // Error name if any.
104+ errormessage?: string; // Error message if any.
102105};
103106
104107/**
0 commit comments