feat: add aiprovider service foundation

This commit is contained in:
linkong
2026-04-07 17:30:27 +08:00
parent 3f5505f03e
commit 9a50e72bd1
42 changed files with 1766 additions and 166 deletions

View File

@@ -99,7 +99,8 @@
│ │ ├── api/
│ │ ├── unit/
│ │ └── conftest.py
│ ├── requirements.txt
│ ├── pyproject.toml
│ ├── uv.lock
│ └── alembic/
├── frontend/ # React Admin
@@ -192,10 +193,10 @@
### Backend
```bash
uv sync --group dev
cd backend
pip install -r requirements.txt
python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
docker-compose up -d backend
uv run --project .. python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
docker compose up -d backend
ruff check . && black --check .
pytest -v && pytest tests/api/test_auth.py::test_login -v
```