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

local ollama not working #17

Open
rony432 opened this issue Oct 1, 2024 · 0 comments
Open

local ollama not working #17

rony432 opened this issue Oct 1, 2024 · 0 comments

Comments

@rony432
Copy link

rony432 commented Oct 1, 2024

am i doing something wrong?
i have set ollama ip and port but it does not connect to my ollama machine on my network

client = OpenAI(
base_url="http://192.168.10.33:11434/",
api_key=os.getenv("OPENROUTER_API_KEY"),
)

DEFAULT_MODEL = "llama3.2:3b"
EDITOR_MODEL = "starcoder2:3b"

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