diff options
| author | theprimeagain <the.primeagen@gmail.com> | 2026-02-15 16:00:54 -0700 |
|---|---|---|
| committer | theprimeagain <the.primeagen@gmail.com> | 2026-02-15 16:00:54 -0700 |
| commit | a5130c1ec63c4b6bbceedbc61906cd9803bfabf8 (patch) | |
| tree | a5602ee1d407e40e5af0b486f1f79c04070138d5 /lua/99/ops/tutorial.lua | |
| parent | 3ade8bbbbcc4fe80a09f22eb59ce8539e4fe2987 (diff) | |
| download | a4-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.lua | 3 |
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") |
