Skip to content

Commit bc05fb6

Browse files
committed
feat(sisyphus): enable variant='max' for maximum reasoning effort
🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
1 parent 7937d72 commit bc05fb6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
255255
},
256256

257257
"chat.message": async (input, output) => {
258+
if (input.agent === "Sisyphus") {
259+
(output.message as Record<string, unknown>).variant = "max"
260+
}
261+
258262
await claudeCodeHooks["chat.message"]?.(input, output);
259263
await keywordDetector?.["chat.message"]?.(input, output);
260264
await contextInjector["chat.message"]?.(input, output);

0 commit comments

Comments
 (0)