Skip to content

Commit c2f78a2

Browse files
committed
merge
Signed-off-by: Michael Yuan <[email protected]>
2 parents ca2bc0e + 526ff01 commit c2f78a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ async def generate_project_sync(request: ProjectRequest):
690690

691691
# Return JSON response instead of plain text
692692
return JSONResponse(content={
693-
"status": "success" if success else "failed",
693+
"success": success,
694694
"message": "Project generated successfully" if success else "Failed to generate working project",
695695
"combined_text": all_files_content.strip(),
696696
"files": {f: open(os.path.join(temp_dir, f), 'r').read() for f in file_paths if os.path.exists(os.path.join(temp_dir, f))},

0 commit comments

Comments
 (0)