We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cc7a3 commit 612a3beCopy full SHA for 612a3be
app/main.py
@@ -175,6 +175,13 @@ async def compile_and_fix(request: CompileAndFixRequest):
175
max_attempts=max_attempts
176
)
177
178
+ # Add combined_text field with the entire project in flat text format
179
+ combined_text = ""
180
+ for filename, content in result["final_files"].items():
181
+ combined_text += f"[filename: {filename}]\n{content}\n\n"
182
+
183
+ result["combined_text"] = combined_text.strip()
184
185
return result
186
187
@app.post("/compile-and-fix")
0 commit comments