Venice's API doesn't support certain OpenAI-compatible parameters that Clawdbot sends by default: - `store`: Venice returns HTTP 400 with no body when this is present - `developer` role: Not supported by Venice's API This adds VENICE_COMPAT settings (supportsStore: false, supportsDeveloperRole: false) to all Venice model definitions, both from the static catalog and dynamically discovered models. Fixes issues reported in PR #1666 where users experienced silent failures (HTTP 400, no body) when using Venice models. Co-authored-by: jonisjongithub <jonisjongithub@users.noreply.github.com> Co-authored-by: Clawdbot <bot@clawd.bot>
1.6 KiB
1.6 KiB
| summary | read_when | ||
|---|---|---|---|
| Bun workflow (experimental): installs and gotchas vs pnpm |
|
Bun (experimental)
Goal: run this repo with Bun (optional, not recommended for WhatsApp/Telegram) without diverging from pnpm workflows.
⚠️ Not recommended for Gateway runtime (WhatsApp/Telegram bugs). Use Node for production.
Status
- Bun is an optional local runtime for running TypeScript directly (
bun run …,bun --watch …). pnpmis the default for builds and remains fully supported (and used by some docs tooling).- Bun cannot use
pnpm-lock.yamland will ignore it.
Install
Default:
bun install
Note: bun.lock/bun.lockb are gitignored, so there’s no repo churn either way. If you want no lockfile writes:
bun install --no-save
Build / Test (Bun)
bun run build
bun run vitest run
Bun lifecycle scripts (blocked by default)
Bun may block dependency lifecycle scripts unless explicitly trusted (bun pm untrusted / bun pm trust).
For this repo, the commonly blocked scripts are not required:
@whiskeysockets/baileyspreinstall: checks Node major >= 20 (we run Node 22+).protobufjspostinstall: emits warnings about incompatible version schemes (no build artifacts).
If you hit a real runtime issue that requires these scripts, trust them explicitly:
bun pm trust @whiskeysockets/baileys protobufjs
Caveats
- Some scripts still hardcode pnpm (e.g.
docs:build,ui:*,protocol:check). Run those via pnpm for now.