Skip to content

Commit 0dc254b

Browse files
committed
fix(run): context args not passed in run new session
1 parent 6eb7354 commit 0dc254b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/opencode/api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ end
7777
---@param opts? SendMessageOpts
7878
function M.run_new_session(prompt, opts)
7979
opts = vim.tbl_deep_extend('force', { new_session = true, focus = 'output' }, opts or {})
80-
core.send_message(prompt, { new_session = true, focus = 'output' })
80+
core.send_message(prompt, opts)
8181
end
8282

8383
---@param parent_id? string

0 commit comments

Comments
 (0)