File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,17 +78,17 @@ export class MyNewProviderTask extends TaskProviderHelper {
7878
7979 makeRoute (params: UrlParams): string {
8080 // Return the route to use for the request. e.g. /v1/chat/completions route is commonly use for chat completion.
81- raise NotImplementedError (" Needs to be implemented" )
81+ throw new Error (" Needs to be implemented" );
8282 }
8383
8484 preparePayload (params: BodyParams): Record< string, unknown> {
8585 // Return the payload to use for the request, as a dict.
86- raise NotImplementedError (" Needs to be implemented" )
86+ throw new Error (" Needs to be implemented" );
8787 }
8888
8989 getResponse (response: TogetherBase64ImageGeneration, outputType?: " url" | " blob" ): string | Promise < Blob > {
9090 // Return the response in the expected format.
91- raise NotImplementedError (" Needs to be implemented" )
91+ throw new Error (" Needs to be implemented" );
9292 }
9393}
9494```
You can’t perform that action at this time.
0 commit comments