14 lines
314 B
Lua
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') |