-
- Downloads
fix: modify streaming fastapi to support vercel/ai
Showing
- templates/simple/fastapi/README-template.md 6 additions, 0 deletionstemplates/simple/fastapi/README-template.md
- templates/simple/fastapi/app/api/routers/chat.py 24 additions, 39 deletionstemplates/simple/fastapi/app/api/routers/chat.py
- templates/simple/fastapi/app/utils/__init__.py 0 additions, 0 deletionstemplates/simple/fastapi/app/utils/__init__.py
- templates/simple/fastapi/app/utils/index.py 33 additions, 0 deletionstemplates/simple/fastapi/app/utils/index.py
- templates/simple/fastapi/main.py 8 additions, 3 deletionstemplates/simple/fastapi/main.py
- templates/streaming/fastapi/README-template.md 6 additions, 0 deletionstemplates/streaming/fastapi/README-template.md
- templates/streaming/fastapi/app/api/routers/chat.py 27 additions, 41 deletionstemplates/streaming/fastapi/app/api/routers/chat.py
- templates/streaming/fastapi/app/utils/__init__.py 0 additions, 0 deletionstemplates/streaming/fastapi/app/utils/__init__.py
- templates/streaming/fastapi/app/utils/index.py 33 additions, 0 deletionstemplates/streaming/fastapi/app/utils/index.py
- templates/streaming/fastapi/app/utils/json.py 22 additions, 0 deletionstemplates/streaming/fastapi/app/utils/json.py
- templates/streaming/fastapi/main.py 8 additions, 3 deletionstemplates/streaming/fastapi/main.py
- templates/streaming/fastapi/pyproject.toml 0 additions, 1 deletiontemplates/streaming/fastapi/pyproject.toml
Loading
Please register or sign in to comment