Dhiraj20 commited on
Commit
34d1787
·
1 Parent(s): ed9c615

Trigger actual rebuild

Browse files
Files changed (1) hide show
  1. 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
+ # Trigger HuggingFace Rebuild
285
+