We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cb90d5 commit 5586fbaCopy full SHA for 5586fba
src/deno_index.ts
@@ -80,11 +80,12 @@ async function handleRequest(req: Request): Promise<Response> {
80
81
if (url.pathname.endsWith("/chat/completions") ||
82
url.pathname.endsWith("/embeddings") ||
83
- url.pathname.endsWith("/models")) {
+ url.pathname.endsWith("/models")) ||
84
+ url.pathname.endsWith("/images/generations")) {
85
return handleAPIRequest(req);
86
}
87
88
return new Response('ok');
89
90
-Deno.serve(handleRequest);
91
+Deno.serve(handleRequest);
0 commit comments