mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
fix: Open AI Parsing Fails When Group Has No Units (#3769)
This commit is contained in:
@@ -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(
|
data_injections.extend(
|
||||||
[
|
[
|
||||||
OpenAIDataInjection(
|
OpenAIDataInjection(
|
||||||
|
|||||||
Reference in New Issue
Block a user