Replies: 8 comments 3 replies
-
Hi, thanks for posting this. I'm trying to get this working, but rather I am using another device (gaming pc) to host Ollama/Deepseek, and I am using my MacBook with nvim to send the prompts. Below is my config:
Most of this config is from Lazyvim copilot chat config, I just added a keymap to select models. Upon reloading, I get no errors, but when I send a prompt I get this error: and
Does this config require tho model to be loaded directly from the same device? Or is there something wrong with my config? Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for the quick response. Disabling the
I redid my config below:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Something I just noticed. Even though my first post had the model running on my PC (and ensured it was accessible by navigating to /v1/models and see it's working), I'm still getting this error when the PC is off or the IP changed. Meaning, I don't think that the nvim plugin connects or can talk to the PC. Is there a way to check if copilotchat is able to reach the PC? I noticed this error again when I double checked my PC's IP address to see that it changed, but was still getting the same error. |
Beta Was this translation helpful? Give feedback.
-
Thanks, I had to run |
Beta Was this translation helpful? Give feedback.
-
Sorry @deathbeam just one small thing is that the snippet above has braces around ollama, but if you aren't careful, then you will bury ollama too far down. I think it may be clear documentation wise, if you say that this is the minimal addition infrastructure, just to add a provider (at least with LazyVim is It took some trial and error to realize that the minimais:l scaffold just to add providers to LazyVim is. I'm happy to add a PR or a discussion point on how installation works here in the discussion section or in the README.md
Then you add if you say the snippet to add is just the ollama is equal to, then at least for me it is clearer how to add providers
|
Beta Was this translation helpful? Give feedback.
-
Issue with changing the format is 1. if i remove braces then its invalid lua so the highlighting wont be correct, 2. dont want to use lazy.nvim specific examples as people might use different plugin managers (or none at all like me). But I agree that braces around might be a bit confusing, but not sure what would be the best solution to that |
Beta Was this translation helpful? Give feedback.
-
Ah that makes sense. Yes ur right. I'm doing a lazyvim missing manual and will include this in it as it's lazyvim specific.
Sent via Superhuman iOS ( ***@***.*** )
…On Fri, Apr 4, 2025 at 13:15, Tomas Slusny < ***@***.*** > wrote:
Issue with changing the format is 1. if i remove braces then its invalid
lua so the highlighting wont be correct, 2. dont want to use lazy.nvim
specific examples as people might use different plugin managers (or none
at all like me). But I agree that braces around might be a bit confusing,
but not sure what would be the best solution to that
—
Reply to this email directly, view it on GitHub (
#784 (comment)
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AANTCR3WHV46VXDWUIIT3N32XXTLRAVCNFSM6AAAAABXI46Q3KVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENZSGAZTOMY
).
You are receiving this because you commented. Message ID: <CopilotC-Nvim/CopilotChat
. nvim/repo-discussions/784/comments/12720373 @ github. com>
|
Beta Was this translation helpful? Give feedback.
-
So i was messing with ollama a bit with the new providers I implemented, so I figured this might be useful to other people as well:
Beta Was this translation helpful? Give feedback.
All reactions