Session fixes: auth working, frontend files created, running locally

- Fixed circular imports in API files
- Created missing frontend lib files (api.ts, socket.ts, types.ts)
- Fixed register endpoint to return token instead of user
- Updated Anthropic client version
- Backend running locally on port 8000
- Frontend running on port 3000
- Authentication working
- Still need: channel response fix, WebSocket auth fix
This commit is contained in:
JA
2026-02-14 04:45:39 +00:00
parent 5e85965cd8
commit 6d6b1d0fbb
9 changed files with 18 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ from api.auth import get_current_user
router = APIRouter()
# File storage configuration
UPLOAD_DIR = os.getenv("UPLOAD_DIR", "./uploads")
UPLOAD_DIR = os.getenv("UPLOAD_DIR", "/tmp/uploads")
Path(UPLOAD_DIR).mkdir(parents=True, exist_ok=True)
class FileResponse(BaseModel):