Skip to content

Commit

Permalink
fix: omg file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-souza committed Sep 26, 2024
1 parent 90dc531 commit 4f1c612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/ollama/ollama.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ local function generate_modelfile(prompt)
logger.debug("Prompt is not empty, generating Modelfile using `omg`")

-- gnerate file using omg
local modelfile = vim.fn.system("omg " .. prompt)
local modelfile = vim.fn.system("omg '" .. prompt .. "'")
return modelfile
end

Expand Down

0 comments on commit 4f1c612

Please sign in to comment.