llm, add GOT_EM env var and reference it in the AGENTS file.
This commit is contained in:
1 parent
43dc65a84b
commit
3e53bd3c9b
1 file changed
+12
-2
@@ -575,11 +575,18 @@
|
||||
content: |
|
||||
# Environment
|
||||
|
||||
- You are running in a Docker container called Open Terminal. We
|
||||
are communicating via Open WebUI, also being run in a Docker
|
||||
You are running in a Docker container called Open Terminal. We are
|
||||
communicating via Open WebUI, also being run in a Docker
|
||||
container. You are the user `user` and have been granted access to
|
||||
the designer's Code and SDKs via mount at `{{ user_user.home }}`.
|
||||
|
||||
If the `$GOT_EM` environment variable is `true` then all the
|
||||
necessary packages for compiling Android and Flutter were
|
||||
installed. If it is `false` then they were not installed, and
|
||||
compiling will fail. Please check this before trying and alert me
|
||||
if they need added. If we don;t have Internet, then ask me to
|
||||
compile or run whatever command is needed on the host system.
|
||||
|
||||
# Rules
|
||||
|
||||
Never use any `git` subcommands that change anything, including
|
||||
@@ -662,8 +669,10 @@
|
||||
echo "RUN: Updating..."
|
||||
docker pull $image &
|
||||
|
||||
GOT_EM=false
|
||||
if curl -sf --max-time 5 -o /dev/null https://hyperling.com; then
|
||||
# Internet is available, pull extra packages.
|
||||
GOT_EM=true
|
||||
|
||||
# Android, sans default-jdk
|
||||
packages="$packages \
|
||||
@@ -707,6 +716,7 @@
|
||||
-e OPEN_TERMINAL_FILE_BROWSER_ROOT="/home/user" \
|
||||
-e OPEN_TERMINAL_API_KEY="{{ open_terminal_key }}" \
|
||||
-e OPEN_TERMINAL_PACKAGES="$packages" \
|
||||
-e GOT_EM="$GOT_EM" \
|
||||
$image run --port {{ open_terminal_port }}
|
||||
|
||||
# -p {{ open_terminal_port }}:8000
|
||||
|
||||
Reference in new issue
Block a user