Skip to content

Commit

Permalink
feat: Caution section on code generation
Browse files Browse the repository at this point in the history
Signed-off-by: Eddy Oyieko <oyieko99@gmail.com>
  • Loading branch information
mobley-trent committed Nov 6, 2024
1 parent 2dbc975 commit 21cc0eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,20 @@ async def post(repo_url: str, regenerate: bool = False):
cls="button-group"
),
cls="code-container relative"
),
Div(
H3(
"⚠️ Caution: AI Generated Code",
cls="text-2xl font-bold text-center mb-4",
style="padding-left: 20px; padding-top: 10px;"
),
Ul(
Li("Make sure to review the generated devcontainer.json file before running it in your development environment."),
Li("The best way to run AI generated code is inside sandboxed dev environments like those managed by Daytona."),
cls="list-disc list-inside text-lg text-center mt-4"
),
cls="container mx-auto px-4 py-16 bg-yellow-100",
style="background-color: #ffff66; padding-bottom: 5px; border-radius: 10px;"
)
)
except Exception as e:
Expand Down

0 comments on commit 21cc0eb

Please sign in to comment.