summaryrefslogtreecommitdiff
path: root/lua/99/ops/tutorial.lua
diff options
context:
space:
mode:
authortheprimeagain <the.primeagen@gmail.com>2026-02-15 16:00:54 -0700
committertheprimeagain <the.primeagen@gmail.com>2026-02-15 16:00:54 -0700
commita5130c1ec63c4b6bbceedbc61906cd9803bfabf8 (patch)
treea5602ee1d407e40e5af0b486f1f79c04070138d5 /lua/99/ops/tutorial.lua
parent3ade8bbbbcc4fe80a09f22eb59ce8539e4fe2987 (diff)
downloada4-a5130c1ec63c4b6bbceedbc61906cd9803bfabf8.tar.xz
a4-a5130c1ec63c4b6bbceedbc61906cd9803bfabf8.zip
better entry point. success still needs work
Diffstat (limited to 'lua/99/ops/tutorial.lua')
-rw-r--r--lua/99/ops/tutorial.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/99/ops/tutorial.lua b/lua/99/ops/tutorial.lua
index bba56e6..10d3530 100644
--- a/lua/99/ops/tutorial.lua
+++ b/lua/99/ops/tutorial.lua
@@ -24,8 +24,9 @@ local function tutorial(context, opts)
make_prompt(context, context._99.prompts.prompts.tutorial(), opts)
context:add_references(refs)
request:add_prompt_content(prompt)
+ context:add_clean_up(clean_up)
- request:start(make_observer(context, clean_up, function(status, response)
+ request:start(make_observer(clean_up, function(status, response)
vim.schedule(clean_up)
if status == "cancelled" then
logger:debug("cancelled")