copilot-chat--ask: Wrong type argument: number-or-marker-p, nil #31
-
Hi, I'm new to Copilot and an Emacs user. I'm getting this error when try to send any prompts. I seem to login OK (I hit enter, open a browser, paste in the code and get an "all set" message or similar). I'm using straight.el on:
My configuration is as follows:
The other package I'm using seems to work as expected (i.e., I get offered code snippets):
What else could I do to try and debug this? I suspect the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 22 replies
-
I thought just occurred to me: Could the problem be that I'm using Copilot Business? |
Beta Was this translation helpful? Give feedback.
-
Are the files
|
Beta Was this translation helpful? Give feedback.
Yes you are right, the GITHUB_TOKEN variable is used if set. I should remove it, as we can see it can be confusing.
Remove all files again, call reset or restart emacs and it should work.