-
Notifications
You must be signed in to change notification settings - Fork 34
Update ollama to use openai api proxy #475
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing on my machine I got:
"/Users/tony/.transformerlab/workspace/plugins/ollama_server/main.py", line 113, in <module>
2025-07-21 22:05:21 | ERROR | stderr | model_dir, model_filename = os.path.split(model_path)
2025-07-21 22:05:21 | ERROR | stderr | ^^^^^^^^^^
2025-07-21 22:05:21 | ERROR | stderr | NameError: name 'model_path' is not defined
First problem is that model_path doesn't get set if the os path exists was up in teh code.
Second problem ist hat my args.model_path is a hugging face model ID...but that one migth be my problem.
I tried to run a model with a valid model_path and it gave me an error about Ollama not being installed or not running. |
(Once I dealt with these two errors everythign worked BTW) |
No description provided.