# 使用 conda
conda create --name lq_oauth2 python=3.12
conda activate lq_oauth2
✅ 开发环境:
python run_server.py
✅ 生产环境:
uvicorn app.server.app:app --host 0.0.0.0 --port 8000
adminAdmin123456pip install pymilvus -i https://mirrors.aliyun.com/pypi/simple/
pip install langchain_openai -i https://mirrors.aliyun.com/pypi/simple/
pip install langchain_milvus -i https://mirrors.aliyun.com/pypi/simple/
pip install minio -i https://mirrors.aliyun.com/pypi/simple/
pip install langchain-text-splitters -i https://mirrors.aliyun.com/pypi/simple/
langchain_openai 1.1.7
langchain_milvus 0.3.3
minio 7.2.20
✅ 所有登录问题已修复 (2026-01-15)
# 测试登录
python test_simple_login.py
# 测试完整流程
python test_full_login_flow.py
# 测试CORS
python test_options_request.py
# 测试登出
python test_logout.py