mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
fix: Open AI Parsing Fails When Group Has No Units (#3769)
This commit is contained in:
parent
b4f07f9d62
commit
72aa1b2514
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class OpenAIParser(ABCIngredientParser):
|
|||
),
|
||||
]
|
||||
|
||||
if service.send_db_data:
|
||||
if service.send_db_data and self.units_by_alias:
|
||||
data_injections.extend(
|
||||
[
|
||||
OpenAIDataInjection(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue