Trigger actual rebuild
Browse files- app/main.py +2 -0
app/main.py
CHANGED
|
@@ -281,3 +281,5 @@ async def upload_document(
|
|
| 281 |
elif "dimension" in error_msg.lower() or "expected" in error_msg.lower():
|
| 282 |
raise HTTPException(status_code=400, detail="Vector DB Dimension Mismatch: You likely switched LLM providers (e.g., from OpenAI to Gemini) which have different vector sizes. Please go to the Memory Vault and click the Trash icon to reset the database before uploading.")
|
| 283 |
raise HTTPException(status_code=500, detail=f"Internal Server Error: {error_msg}")
|
|
|
|
|
|
|
|
|
| 281 |
elif "dimension" in error_msg.lower() or "expected" in error_msg.lower():
|
| 282 |
raise HTTPException(status_code=400, detail="Vector DB Dimension Mismatch: You likely switched LLM providers (e.g., from OpenAI to Gemini) which have different vector sizes. Please go to the Memory Vault and click the Trash icon to reset the database before uploading.")
|
| 283 |
raise HTTPException(status_code=500, detail=f"Internal Server Error: {error_msg}")
|
| 284 |
+
# T r i g g e r H u g g i n g F a c e R e b u i l d
|
| 285 |
+
|