Skip to content

Commit 3345959

Browse files
authored
Merge pull request #32 from ProspektStudio/david
fix build
2 parents 4f1eb8b + d6f14f7 commit 3345959

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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

api/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from fastapi.middleware.cors import CORSMiddleware
33
from fastapi.responses import StreamingResponse
44
from 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
66
from typing import AsyncGenerator, Callable
77

88
logger = uvicorn_logging.getLogger("uvicorn")

0 commit comments

Comments
 (0)