xuyonghao
2024-12-18 40408073a234dc2bdd917ff7f1fe4d2edf001032
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(