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.tssimilarity index 100%rename from cloud/app/src/util/zen.tsrename to cloud/app/src/routes/zen/handler.tsdiff --git a/cloud/app/src/routes/zen/v1/chat/completions.ts b/cloud/app/src/routes/zen/v1/chat/completions.tsindex 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?: numberdiff --git a/cloud/app/src/routes/zen/v1/messages.ts b/cloud/app/src/routes/zen/v1/messages.tsindex 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.tsindex 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