File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,18 +28,21 @@ jobs:
2828 # Build job
2929 build :
3030 runs-on : ubuntu-latest
31+ defaults :
32+ run :
33+ working-directory : ./client
3134 steps :
3235 - name : Checkout
3336 uses : actions/checkout@v4
3437 - name : Detect package manager
3538 id : detect-package-manager
3639 run : |
37- if [ -f "${{ github.workspace }}/ yarn.lock" ]; then
40+ if [ -f "yarn.lock" ]; then
3841 echo "manager=yarn" >> $GITHUB_OUTPUT
3942 echo "command=install" >> $GITHUB_OUTPUT
4043 echo "runner=yarn" >> $GITHUB_OUTPUT
4144 exit 0
42- elif [ -f "${{ github.workspace }}/ package.json" ]; then
45+ elif [ -f "package.json" ]; then
4346 echo "manager=npm" >> $GITHUB_OUTPUT
4447 echo "command=ci" >> $GITHUB_OUTPUT
4548 echo "runner=npx --no-install" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 22from fastapi .middleware .cors import CORSMiddleware
33from fastapi .responses import StreamingResponse
44from uvicorn .logging import logging as uvicorn_logging
5- from models import gemini_content_stream , rag_content_stream , cag_content_stream
5+ from models import gemini_content_stream , rag_content_stream # , cag_content_stream
66from typing import AsyncGenerator , Callable
77
88logger = uvicorn_logging .getLogger ("uvicorn" )
You can’t perform that action at this time.
0 commit comments