We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aae8773 commit f7ff03bCopy full SHA for f7ff03b
1 file changed
lua/opencode/core.lua
@@ -95,13 +95,16 @@ function M.send_message(prompt, opts)
95
if opts.model then
96
local provider, model = opts.model:match('^(.-)/(.+)$')
97
params.model = { providerID = provider, modelID = model }
98
+ state.current_model = opts.model
99
end
100
101
if opts.agent then
102
params.agent = opts.agent
103
+ state.current_mode = opts.agent
104
105
106
params.parts = context.format_message(prompt, opts.context)
107
+ state.current_context_config = opts.context
108
109
M.before_run(opts)
110
0 commit comments