63cd0e4bf92e482cc338a606dea4e208bc20cdb7
2
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f4d48ac3ee |
workbuddy 0.1.43: a chat names the model's default effort as WorkBuddy's client does, and goes gzipped
troilus1011 on X: WorkBuddy's DeepSeek in OpenCode through magpie thought at low and high, never at the default. OpenCode's default variant names no reasoning_effort, and WorkBuddy doesn't think without one: measured on www.workbuddy.ai with 0.1.42, deepseek-v4.1-flash gave 0 reasoning tokens with no effort (2 of 2), 0 at none, 16/37 at low, 34/56 at high. WorkBuddy's own client (CLI 2.165.0 in WorkBuddy 5.9.3, configureThinkingSettings) sends the session's effort, else the reasoningEffort setting, else the model's reasoning.defaultEffort from /v3/config, which is "high" for this model on both builds. A chat that names no effort now gets the model's own defaultEffort when its listed levels hold it, read from the same cached /v3/config list (one read per minute; a failed read leaves the chat as it came and is not retried on every chat). An effort the client names, none included, is untouched and the list isn't read for it. Models with no reasoning config get nothing. runmiNeverstop on X: 2.89 GB up to copilot.tencent.com through magpie. WorkBuddy's client gzips a model request's body (GzipRequestProcessor, on with productFeatures.RequestBodyGzip, true in both builds' product.json and not turned off by the remote config); the plugin sent it as plain JSON. Agent chat JSON (the whole history each turn, tool schemas) compresses several-fold, so the upload was several times what the official client sends for the same turns. A chat-completions body now goes gzipped with Content-Encoding: gzip on both builds; unanswered() weighs the gzipped size against the front door's 2 MiB. Claude's Messages route goes as it came (not tried gzipped live). Run (on mote, HOME=$(mktemp -d) bun test in packages/workbuddy): 197 pass, 0 fail. bun scripts/check.mjs: exit 0. Fakes that parse the sent body gunzip it (testdata/unz.mjs); reset.test.mjs's 2 MiB bodies are random base64 so they stay over 2 MiB on the wire. Live (www.workbuddy.ai, a real account in a sandbox HOME): with 0.1.43 the default sent reasoning_effort high gzipped and thought (34 and 51 reasoning tokens), none stayed 0, low and high as before, all 200. A gzipped chat answered 200 the same as a plain one. Broken by hand: origin/main's index.mjs with the new default-effort.test.mjs: 5 of 8 red (default effort, failed-read reuse, both gzip tests, defaultEffortOf); the 3 that pass guard what must not change (named efforts, models without a default, Messages). Not tried: a live chat on the China build (copilot.tencent.com answered 401 to every token available here, its /v3/config read fine); Messages gzipped; the reporters' own OpenCode sessions end to end. |
||
|
|
7f99447ed2 |
workbuddy 0.1.39: an earlier turn's reasoning_content goes as reasoning, as WorkBuddy's own client sends it
uk.jent on Discord: Grok Build's chat.completions history lost its thinking on WorkBuddy. Grok Build 1.0.67 sends an earlier assistant turn's thinking as reasoning_content; magpie and this plugin pass it on byte for byte, and WorkBuddy drops it. WorkBuddy's own client (CodeBuddy's agents converter, applyPendingReasoning) sets `reasoning` on the assistant message and skips its reasoning_content backfill for WorkBuddy's own hosts. The chat path now does the same: reasoning_content, or reasoning_details' text, becomes `reasoning` (one the client set is kept) and the original fields are left out. Nothing is folded into content as <think>, since WorkBuddy's client doesn't send it that way. The Messages route (Claude on the China build) is unchanged. Run: packages/workbuddy `bun test` with a temp HOME (183 pass); `bun scripts/check.mjs` all green. Live on www.workbuddy.ai (a real WorkBuddy AI account, access token only, refresh left out), a codeword in the earlier turn's thinking, asked for after the tool result: before, reasoning_content reached no model (0 of ~15 across kimi-k2.6, kimi-k3, glm-5.3, deepseek-v4.1-flash, minimax-m3) while `reasoning` did on kimi-k2.6 and minimax-m3; through 0.1.39 a reasoning_content history reached kimi-k2.6 2 of 8 and minimax-m3 4 of 9, with the no-thinking control 0 every time. glm-5.3, kimi-k3 and deepseek-v4.1-flash never quoted it in either spelling. Broken by hand: index.mjs from origin/main: reasoning.test.mjs 4 of 4 red; with the asReasoning call commented out, its two end-to-end tests red. Not tried: the China build (copilot.tencent.com; its desktop sign-in answered 401), and Grok Build end to end through WorkBuddy (its request was captured against a fake server). The "thinking loop" the report names wasn't reproduced; the plugin doesn't touch the reply stream. |