Files
lsfbench/tests/ollama.luau
2025-09-04 03:53:27 -06:00

14 lines
314 B
Lua

local ollama = require("@ollama")
local instance = ollama.serve()
local llmResponse = instance:generateCompletion({
model = 'qwen3:4b',
prompt = '/no_think Just respond with "working".'
})
if not llmResponse.statusCode and llmResponse.done then
return print('test passed')
end
return print('test failed')