mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 00:55:21 -04:00
There is a problem using ollama in vscode+jupyter #184
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @szzhh on GitHub (Dec 12, 2024).
I am using Windows system locally. I use vscode+jupyter to remotely connect to Linux server and start ollama service. When I run ollama.list(), the model output is the model downloaded locally. However, when I run the magic command! ollama list command, it outputs the model of the remote server. And the jupyter I created remotely can only use the local ollama model, not the remote model.

@ParthSareen commented on GitHub (Dec 12, 2024):
Hi @szzhh - to do this you can either to pass in your own http client or
export OLLAMA_HOST=HOSTNAMEto point Ollama to the right spot