Skip to content

The open source coding agent.

TypeScript

wip: zen

Frank7218a662ab08
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 13a75a4a439..801557324e2 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 b2e9e275a91..1fd85d5c745 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 1bca91f52ff..486c129b901 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