Comments (5)
The Ollama docs explicitly specify to supply an API key even though it's unused: https://ollama.com/blog/openai-compatibility
Additionally, I don't think it makes sense to require the base URL when most users are going to want to use OpenAI out of the box. It also wouldn't help anyway since an API key is still required (even if it doesn't get used)
from mealie.
Ah thanks @michael-genson, I very much missed the "# required, but unused" for the Python library
from mealie.
My 2ยข, the OpenAI feature should require OPENAI_BASE_URL
and OPENAI_MODEL
, and throw an error in /admin/site-settings if ^.*openai.*$
is in OPENAI_BASE_URL
and OPENAI_API_KEY
is blank
from mealie.
For anyone looking here for troubleshooting in the future, your env variables for ollama should include:
OPENAI_BASE_URL=http://ollama_url/v1
OPENAI_API_KEY=literallyanything
OPENAI_MODEL=llama3:latest # or whatever model, I'm using phi3:latest
from mealie.
Let us know how performance goes too please @Greirson, once you've used it a bit. Either here or on discord ๐
from mealie.
Related Issues (20)
- [SCRAPER] - America's Test Kitchen random scrape failures HOT 2
- [BUG] - Auto-redirect to default group doesn't work for some users
- [BUG] - Umlauts in OpenAPI parser are not handled correctly HOT 6
- [BUG] - Deleting a recipe appears makes mealie unresponsive for a few minutes
- [SCRAPER] - i can't add any recipe by url HOT 1
- How to get rid of the warning sign? HOT 1
- [BUG] -Sending Test Email Results in Entire docker container freezing
- [BUG] - Recipe gets in invalid state and can't be accessed or deleted
- [BUG] - Google OIDC not working HOT 2
- [SCRAPER] - ah.nl
- [SCRAPER] - foodnetwork.com returns 403 due to user-agent string HOT 5
- [BUG] - docker image pyproject.toml shows wrong version of mealie? HOT 4
- [SCRAPER] - No way to scrape sites with required login (such as Blue Apron) HOT 1
- [BUG] - enable ingredient amounts by default
- [BUG] - Profile image from iPhone is rotated incorrectly
- [BUG] - API not returning meal plan correctly HOT 4
- [BUG] - Gmail Not Working [ERROR|admin_email|L32] HOT 4
- [BUG] - Mealie main.py zombie process
- [BUG] - translation has no effect at import for number of servings HOT 1
- [BUG] - Mealplan webhook payload includes all mealplan items, regardless of date HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mealie.