diff options
| author | polwex <polwex@sortug.com> | 2025-10-19 12:54:25 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-10-19 12:54:25 +0700 |
| commit | 8815d3c1d40550470c5bc972bc16bd4966735154 (patch) | |
| tree | 92ef606b568035b9e88d89286be3330f4b84af1e /tests/test.ts | |
| parent | ba16ebcbe36c1a1cbdb1d1379cb3f9c3a086acdf (diff) | |
Diffstat (limited to 'tests/test.ts')
| -rw-r--r-- | tests/test.ts | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/test.ts b/tests/test.ts deleted file mode 100644 index f962364..0000000 --- a/tests/test.ts +++ /dev/null @@ -1,25 +0,0 @@ -import Router from ".."; -// import OpenAI from "openai"; - -async function run() { - const api = Router({ kimi: "" }); - // const api = new OpenAI({ - // baseURL: "https://api.moonshot.ai/v1", - // apiKey: Bun.env.MOONSHOT_API_KEY, - // }); - // const model = "kimi-k2-0711-preview"; - // const api = new OpenAI(); - // const model = "o4-mini"; - // const res = await api.responses.create({ model, input: "Hello!" }); - // const res = await api.chat.completions.create({ - // model, - // messages: [{ role: "user", content: "Hello there" }], - // }); - const res = await api.send("henlo"); - console.log({ res }); -} -run(); - -// gemini works -// claude works too. -// it's the openai API thingy |
