carlrobertoh / CodeGPT

JetBrains extension providing access to state-of-the-art LLMs, such as GPT-4, Claude 3, Code Llama, and others, all for free
https://codegpt.ee
Apache License 2.0
885 stars 184 forks source link

unable to load model when using ollama(local) provider #578

Closed litaolaile closed 1 month ago

litaolaile commented 1 month ago

What happened?

i can not load model,but the address has exist ollama model,my friend can load model with same address image image the version of idea is image

Relevant log output or stack trace

No response

Steps to reproduce

No response

CodeGPT version

2.7.1-233

Operating System

Windows

PhilKes commented 1 month ago

I think this is probably due to the trailing "/" in your Base host. Try to remove it and test it again. I will create a PR to mitigate this annoying problem

litaolaile commented 1 month ago

not useful by remove trailing slashes