mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 00:53:14 +00:00
fix: truncate long text fields to prevent overflow in logs and sources
This commit is contained in:
@@ -64,7 +64,7 @@ attachments_collection = db["attachments"]
|
||||
|
||||
try:
|
||||
agents_collection.create_index(
|
||||
[("shared_publicly", 1)],
|
||||
[("shared", 1)],
|
||||
name="shared_index",
|
||||
background=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user