Unable to reach localhost - Custom Models

Got a custom model to be named “default” to bypass validation but it seems like its getting this error when trying to call the model:
Attempted to connect to internal IP in @rawExternalApiProxyService.axiosPost

Base URL is set to: http://localhost:11434/v1

If you are using a proxy for AI models or setup a local URL, note that Agent cant access your local proxy as its run from Cursor servers.

I think Ask mode works with local proxies.

Try a new chat with Ask mode to see if that works

Strangely, its currently set to ask mode:

@deanrie does the team have any experience with such a case?

Hey, you unfortunately cannot use locally hosted models within Cursor at the moment!

This is because it’s actually Cursor’s servers that make the final request to the LLM, not your own machine, so our servers have to be able to reach the LLM provider.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.