Spaces:
Sleeping
Sleeping
Nitish commited on
Commit ·
d63bce6
1
Parent(s): 19d48af
refactor: update relative imports to resolve pathing issues after project restructuring
Browse files- server/app.py +1 -1
- server/environment.py +1 -1
server/app.py
CHANGED
|
@@ -3,7 +3,7 @@ import uvicorn
|
|
| 3 |
from fastapi import FastAPI, HTTPException, Query
|
| 4 |
from fastapi.middleware.cors import CORSMiddleware
|
| 5 |
|
| 6 |
-
from .
|
| 7 |
from .environment import CodeReviewEnvironment
|
| 8 |
|
| 9 |
app = FastAPI(
|
|
|
|
| 3 |
from fastapi import FastAPI, HTTPException, Query
|
| 4 |
from fastapi.middleware.cors import CORSMiddleware
|
| 5 |
|
| 6 |
+
from .models import CodeReviewAction, CodeReviewState, StepResponse, ResetResponse
|
| 7 |
from .environment import CodeReviewEnvironment
|
| 8 |
|
| 9 |
app = FastAPI(
|
server/environment.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
from typing import Dict, Any, Tuple, Optional
|
| 2 |
-
from .
|
| 3 |
|
| 4 |
MAX_STEPS = 3
|
| 5 |
|
|
|
|
| 1 |
from typing import Dict, Any, Tuple, Optional
|
| 2 |
+
from .models import CodeReviewAction, CodeReviewObservation, CodeReviewState
|
| 3 |
|
| 4 |
MAX_STEPS = 3
|
| 5 |
|