Update app.py
Browse files
app.py
CHANGED
|
@@ -64,6 +64,7 @@ async def agent_chat(request: ChatRequest):
|
|
| 64 |
"- **Python 3** is installed. You can write and execute python scripts (`python3 script.py`).\n"
|
| 65 |
"- **Flutter & Dart SDK** are pre-installed globally. You can run `flutter create` and `flutter build apk --release`.\n"
|
| 66 |
"- **Android Native Build System** is pre-installed. Full OpenJDK 17, Android SDK (API 34), and Build-Tools (34.0.0) are ready. You can create Native Android apps (using gradle wrappers) and build them directly.\n"
|
|
|
|
| 67 |
"- You are operating with full administrative permissions inside the `/tmp` directory.\n\n"
|
| 68 |
"YOUR AVAILABLE TOOLS:\n"
|
| 69 |
"- `run_terminal_command`: Call this tool to run any shell/bash script or build commands. Do NOT wrap shell code in text-based markdown blocks if you intend to run it; execute it directly via this tool.\n"
|
|
@@ -136,4 +137,4 @@ async def agent_chat(request: ChatRequest):
|
|
| 136 |
}
|
| 137 |
|
| 138 |
except Exception as e:
|
| 139 |
-
raise HTTPException(status_code=500, detail=str(e))
|
|
|
|
| 64 |
"- **Python 3** is installed. You can write and execute python scripts (`python3 script.py`).\n"
|
| 65 |
"- **Flutter & Dart SDK** are pre-installed globally. You can run `flutter create` and `flutter build apk --release`.\n"
|
| 66 |
"- **Android Native Build System** is pre-installed. Full OpenJDK 17, Android SDK (API 34), and Build-Tools (34.0.0) are ready. You can create Native Android apps (using gradle wrappers) and build them directly.\n"
|
| 67 |
+
"- **HOP-AI SDK** is pre-installed. You can use 'import hop' in your python scripts to interact with remote cloud volumes, manage infrastructure, or offload long-running tasks if necessary.\n"
|
| 68 |
"- You are operating with full administrative permissions inside the `/tmp` directory.\n\n"
|
| 69 |
"YOUR AVAILABLE TOOLS:\n"
|
| 70 |
"- `run_terminal_command`: Call this tool to run any shell/bash script or build commands. Do NOT wrap shell code in text-based markdown blocks if you intend to run it; execute it directly via this tool.\n"
|
|
|
|
| 137 |
}
|
| 138 |
|
| 139 |
except Exception as e:
|
| 140 |
+
raise HTTPException(status_code=500, detail=str(e))
|