What: for the workbuddy-ai provider only, a model whose id starts with glm- is listed without image input (capabilities.input.image and attachment false), whatever /v3/config's supportsImages says. Why: checked on 2026-10-13 with a real WorkBuddy AI account. Its www.workbuddy.ai/v3/config marks every model supportsImages: true, but an image sent to glm-5.3-flash, glm-5.3 or glm-5.2 is taken out by the server and replaced with "[System reminder: the current model does not support images. Content filtered. ...]". Its other models (deepseek-v4.1-flash, kimi, gemini, grok, gpt) read images, and WorkBuddy (China, copilot.tencent.com)'s glm-5.3-flash does too. Listed as taking images, magpie sent them straight through and the model never saw them; listed text-only, magpie's image-describing model reads them first. A user who set the model's image support by hand in magpie keeps it (magpie's ModelImages setting is applied over the provider's list). Scoped by site (SITES["workbuddy-ai"].noImages = /^glm-/) and family, not a list of three ids, so a later GLM on WorkBuddy AI is covered. Run: TMPDIR=<scratch> HOME=<scratch>/home bun test in packages/workbuddy: 68 pass. The new test fails on the old index.mjs (glm-5.3-flash listed with images). bun scripts/check.mjs green. Not run: a live chat through the plugin with an image (the account check above was done before this change).
13 lines
566 B
JSON
13 lines
566 B
JSON
{
|
|
"name": "@magpie-community/opencode-workbuddy-auth",
|
|
"version": "0.1.16",
|
|
"description": "OpenCode provider plugins for WorkBuddy's plans: WorkBuddy (CodeBuddy, copilot.tencent.com) and WorkBuddy AI (www.workbuddy.ai)",
|
|
"type": "module",
|
|
"main": "./index.mjs",
|
|
"exports": "./index.mjs",
|
|
"files": ["index.mjs", "README.md"],
|
|
"keywords": ["opencode", "opencode-plugin", "workbuddy", "codebuddy"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/workbuddy" }
|
|
}
|