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

Unable to Select Ollama as Smart Chat Model Platform #985

Open
heckj516 opened this issue Feb 7, 2025 · 0 comments
Open

Unable to Select Ollama as Smart Chat Model Platform #985

heckj516 opened this issue Feb 7, 2025 · 0 comments

Comments

@heckj516
Copy link

heckj516 commented Feb 7, 2025

Smart Connections works as expected, but Smart Chat quit working for me with v 2.2.85.

I have kept updating Obsidian and the Smart Connections plugin with the hope that interim upgrades would fix the problem. They have not.

I am now running Smart Connections plugin v2.3.53 0n Obsidian v1.8.4.

In Smart Chat's Smart Thread settings I am trying to use "Ollama (local)" as my "Chat Model Platform." However, no models are displayed in the "Chat Model" setting when trying to use "Ollama (local)" as my "Chat Model Platform.". The "Chat Model" setting displays "No Models currently Available."

When I depress the "Refresh Models" button to retrieve a list of available models, I get the following error messages on the developer's console:


refresh_models

plugin:smart-connections:16328
get_models true

plugin:smart-connections:16331
models_request_params
{url: 'http://localhost:11434/api/tags'}

plugin:smart-connections:16917
Error in SmartHttpObsidianRequestAdapter.request():

plugin:smart-connections:16918
{
"url": "http://localhost:11434/api/tags"
}

plugin:smart-connections:16919
undefined

plugin:smart-connections:16920
Error: net::ERR_CONNECTION_REFUSED
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:2:114352)
at SimpleURLLoaderWrapper.emit (node:events:519:28)

plugin:smart-connections:16333 list_response null

plugin:smart-connections:16353 Failed to fetch model data: TypeError: Cannot read properties of null (reading 'json')
at SmartChatModelOllamaAdapter.get_models
(plugin:smart-connections:16334:41)

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