Fix model errors (#17171)

This commit is contained in:
Nicolas Mowen
2025-03-16 06:01:15 -05:00
committed by GitHub
parent d87268acfe
commit db541abed4
5 changed files with 22 additions and 8 deletions
+3
View File
@@ -225,6 +225,9 @@ class EmbeddingsContext:
if os.path.isfile(file_path):
os.unlink(file_path)
if len(os.listdir(folder)) == 0:
os.rmdir(folder)
def update_description(self, event_id: str, description: str) -> None:
self.requestor.send_data(
EmbeddingsRequestEnum.embed_description.value,