Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

response is always empty in the ask's callback #707

Open
iamralch opened this issue Jan 5, 2025 · 0 comments
Open

response is always empty in the ask's callback #707

iamralch opened this issue Jan 5, 2025 · 0 comments

Comments

@iamralch
Copy link

iamralch commented Jan 5, 2025

I am trying to interact with Copilot via the lua library. I have the following snippet:

chat.ask("/Commit", {
	debug = true,
	-- headless = true,
	context = { "file", "git" },
	callback = function(response)
		print(response)
	end,
})
Screenshot 2025-01-05 at 12 31 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant