zhaoqingang
2024-12-23 945a5ad142dea6fdc10b97c6144e2626283d11a1
app/service/ragflow.py
@@ -36,7 +36,7 @@
        else:
            return {}
    async def register(self, username: str, password: str):
    async def register(self, username: str, password: str, token:str=""):
        password = RagflowCrypto(settings.PUBLIC_KEY, settings.PRIVATE_KEY).encrypt(password)
        async with httpx.AsyncClient() as client:
            response = await client.post(