zhaoqingang
2024-12-18 91062dda27e06bf29eaa78eff47ba505ad19b7a2
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(