Skip to content

Commit 0085e56

Browse files
Set date to none if the embedding creation fails (#115)
1 parent db550b6 commit 0085e56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controller/model_provider/manager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def get_model_provider_info() -> List[ModelProviderInfoResult]:
2323
pass
2424
except TypeError:
2525
pass
26+
else:
27+
model["date"] = None
2628

2729
return model_info
2830

0 commit comments

Comments
 (0)