clawmoney 0.17.18 → 0.17.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hub/executor.js +17 -2
- package/package.json +1 -1
package/dist/hub/executor.js
CHANGED
|
@@ -140,8 +140,23 @@ function runCli(command, prompt, timeoutMs, orderId) {
|
|
|
140
140
|
// back to either drawing the image with Python in /tmp (slow, ugly)
|
|
141
141
|
// or hallucinating an image_path with no file behind it (worst
|
|
142
142
|
// case, since the buyer pays for a nonexistent file). Verified on
|
|
143
|
-
// codex 0.128.0 + gpt-5.5
|
|
144
|
-
|
|
143
|
+
// codex 0.128.0 + gpt-5.5, 2026-05-12.
|
|
144
|
+
//
|
|
145
|
+
// -c model_reasoning_effort=medium overrides whatever the provider
|
|
146
|
+
// has in ~/.codex/config.toml (often "high" or "xhigh" for their
|
|
147
|
+
// own deep-thinking sessions). Hub buyers don't need that level of
|
|
148
|
+
// reasoning — for image gen the only reasoning step worth doing is
|
|
149
|
+
// "pick the right tool", everything after image_gen finishes is
|
|
150
|
+
// pure overhead that adds 60–90s per call. medium keeps quality
|
|
151
|
+
// similar to codex defaults but caps the tail latency.
|
|
152
|
+
args = [
|
|
153
|
+
"exec",
|
|
154
|
+
"-s", "workspace-write",
|
|
155
|
+
"-c", "model_reasoning_effort=medium",
|
|
156
|
+
prompt,
|
|
157
|
+
"--json",
|
|
158
|
+
"--skip-git-repo-check",
|
|
159
|
+
];
|
|
145
160
|
}
|
|
146
161
|
else if (command === "gemini") {
|
|
147
162
|
// gemini -p "..." -o json --yolo
|