We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f1c8fd commit b8427aeCopy full SHA for b8427ae
lua/opencode/api.lua
@@ -544,6 +544,10 @@ function M.commands_list()
544
ui.render_lines(msg)
545
end
546
547
+function M.current_model()
548
+ return state.current_model or ''
549
+end
550
+
551
--- Runs a user-defined command by name.
552
--- @param name string The name of the user command to run.
553
--- @param args? string[] Additional arguments to pass to the command.
0 commit comments