mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-04-27 09:52:03 +00:00
Enhance logging.
This commit is contained in:
@@ -956,7 +956,7 @@ def chromadb_import():
|
||||
|
||||
|
||||
collection.upsert(documents=documents, metadatas=metadatas, ids=ids)
|
||||
print(f"Imported {len(ids)} content entries into {repr(data['chat_id'])}")
|
||||
print(f"Imported {len(ids)} (total {collection.count()}) content entries into {repr(data['chat_id'])}")
|
||||
|
||||
return jsonify({"count": len(ids)})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user