The first public release of LLeMbas CLI: a terminal coding agent and project manager for any LLM API, with permission modes, git snapshots, memory and skills, knowledge bases, MCP, voice, and a link to a LLeMbas instance whose web UI can work its sessions too. Signed Linux binaries for x64 and arm64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
355 files changed
+47028
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { expect, test } from "bun:test"
|
||||
import { isChatModel } from "../src/lembas/webui.ts"
|
||||
|
||||
test("a model's kind: only embedding, stt, tts and image are not chat", () => {
|
||||
for (const kind of [undefined, null, "chat", "openai", "anthropic"]) expect(isChatModel({ id: "m", kind } as any)).toBe(true)
|
||||
for (const kind of ["embedding", "stt", "tts", "image"]) expect(isChatModel({ id: "m", kind } as any)).toBe(false)
|
||||
})
|
||||
Reference in new issue
Block a user