From 7218a662ab08e5526d469090a565342872f04a48 Mon Sep 17 00:00:00 2001 From: Frank Date: Fri, 12 Sep 2025 18:38:54 -0400 Subject: [PATCH] wip: zen --- cloud/app/src/{util/zen.ts => routes/zen/handler.ts} | 0 cloud/app/src/routes/zen/v1/chat/completions.ts | 2 +- cloud/app/src/routes/zen/v1/messages.ts | 2 +- cloud/app/src/routes/zen/v1/responses.ts | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename cloud/app/src/{util/zen.ts => routes/zen/handler.ts} (100%) 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