mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
fix: Open AI Parsing Fails When Group Has No Units (#3769)
This commit is contained in:
parent
b4f07f9d62
commit
72aa1b2514
@ -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…
x
Reference in New Issue
Block a user