refactor instructions to return object with full/system/user/event/runtime properties, fix duplicate modes and json prompt extraction (#110)
This commit is contained in:
committed by
pullfrog[bot]
parent
410b11db71
commit
cb925556e8
+1
-1
@@ -30,7 +30,7 @@ export const opencode = agent({
|
||||
configureOpenCode(ctx);
|
||||
|
||||
// message positional must come right after "run", before flags
|
||||
const args = ["run", ctx.instructions, "--format", "json"];
|
||||
const args = ["run", ctx.instructions.full, "--format", "json"];
|
||||
|
||||
process.env.HOME = tempHome;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user