Repository navigation
Install
pip install ai_chef-1.3.0-py3-none-any.whl
python ai_chef.pyNo API key required for the recipe search, meal planning, pantry and grocery list. The AI features turn on when OPENAI_API_KEY is set, and OPENAI_BASE_URL points them at any OpenAI-compatible server, including Ollama on your own machine.
What this release adds
OPENAI_BASE_URL and OPENAI_MODEL resolve through one function, so a local server needs no key at all. --photo PATH sends a picture of a shelf or a counter to a vision model, parses the reply into ingredient names, and runs the existing search on them. Every failure path is one readable line and exit 1: missing file, unsupported extension, no endpoint configured, empty reply, or a reply with no ingredients.
Recipe matching, scaling and the match table are unchanged. 225 tests pass.