chore: add biome and fix to pass
This commit is contained in:
parent
d29fc20681
commit
ab648271c2
4 changed files with 59 additions and 2 deletions
4
index.ts
4
index.ts
|
|
@ -1,5 +1,5 @@
|
|||
import { streamText } from "ai";
|
||||
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
|
||||
import { streamText } from "ai";
|
||||
|
||||
const provider = createOpenAICompatible({
|
||||
name: "llama.cpp",
|
||||
|
|
@ -10,7 +10,7 @@ const provider = createOpenAICompatible({
|
|||
|
||||
const { fullStream, reasoningText, text } = streamText({
|
||||
model: provider("qwen3.5-35b-a3b"),
|
||||
prompt: Bun.argv[2]!,
|
||||
prompt: Bun.argv[2] ?? "Introduce yourself.",
|
||||
});
|
||||
|
||||
const moveCursor = (x: number, y: number) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue