diff --git a/cloud/app/src/util/zen.ts b/cloud/app/src/routes/zen/handler.ts similarity index 100% rename from cloud/app/src/util/zen.ts rename to cloud/app/src/routes/zen/handler.ts diff --git a/cloud/app/src/routes/zen/v1/chat/completions.ts b/cloud/app/src/routes/zen/v1/chat/completions.ts index 13a75a4a..80155732 100644 --- a/cloud/app/src/routes/zen/v1/chat/completions.ts +++ b/cloud/app/src/routes/zen/v1/chat/completions.ts @@ -1,5 +1,5 @@ import type { APIEvent } from "@solidjs/start/server" -import { handler } from "~/util/zen" +import { handler } from "~/routes/zen/handler" type Usage = { prompt_tokens?: number diff --git a/cloud/app/src/routes/zen/v1/messages.ts b/cloud/app/src/routes/zen/v1/messages.ts index b2e9e275..1fd85d5c 100644 --- a/cloud/app/src/routes/zen/v1/messages.ts +++ b/cloud/app/src/routes/zen/v1/messages.ts @@ -1,5 +1,5 @@ import type { APIEvent } from "@solidjs/start/server" -import { handler } from "~/util/zen" +import { handler } from "~/routes/zen/handler" type Usage = { cache_creation?: { diff --git a/cloud/app/src/routes/zen/v1/responses.ts b/cloud/app/src/routes/zen/v1/responses.ts index 1bca91f5..486c129b 100644 --- a/cloud/app/src/routes/zen/v1/responses.ts +++ b/cloud/app/src/routes/zen/v1/responses.ts @@ -1,5 +1,5 @@ import type { APIEvent } from "@solidjs/start/server" -import { handler } from "~/util/zen" +import { handler } from "~/routes/zen/handler" type Usage = { input_tokens?: number