Spaces:
Runtime error
Runtime error
starsnatched
commited on
Commit
·
14b4052
1
Parent(s):
67b4abb
fix: update VM_IMAGE to use the base Ubuntu image instead of Dockerfile
Browse files- docker/Dockerfile.vm +0 -14
- src/config.py +1 -1
docker/Dockerfile.vm
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
FROM ubuntu:22.04
|
2 |
-
|
3 |
-
# Install core utilities and Python
|
4 |
-
RUN apt-get update \
|
5 |
-
&& apt-get install -y --no-install-recommends \
|
6 |
-
python3 \
|
7 |
-
python3-pip \
|
8 |
-
sudo \
|
9 |
-
curl \
|
10 |
-
git \
|
11 |
-
build-essential \
|
12 |
-
&& rm -rf /var/lib/apt/lists/*
|
13 |
-
|
14 |
-
CMD ["sleep", "infinity"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/config.py
CHANGED
@@ -9,7 +9,7 @@ OLLAMA_HOST: Final[str] = os.getenv("OLLAMA_HOST", "http://localhost:11434")
|
|
9 |
MAX_TOOL_CALL_DEPTH: Final[int] = 5
|
10 |
NUM_CTX: Final[int] = int(os.getenv("OLLAMA_NUM_CTX", "16000"))
|
11 |
UPLOAD_DIR: Final[str] = os.getenv("UPLOAD_DIR", str(Path.cwd() / "uploads"))
|
12 |
-
VM_IMAGE: Final[str] = os.getenv("VM_IMAGE", "
|
13 |
|
14 |
SYSTEM_PROMPT: Final[str] = (
|
15 |
"You are Starlette, a professional AI assistant with advanced tool orchestration. "
|
|
|
9 |
MAX_TOOL_CALL_DEPTH: Final[int] = 5
|
10 |
NUM_CTX: Final[int] = int(os.getenv("OLLAMA_NUM_CTX", "16000"))
|
11 |
UPLOAD_DIR: Final[str] = os.getenv("UPLOAD_DIR", str(Path.cwd() / "uploads"))
|
12 |
+
VM_IMAGE: Final[str] = os.getenv("VM_IMAGE", "ubuntu:22.04")
|
13 |
|
14 |
SYSTEM_PROMPT: Final[str] = (
|
15 |
"You are Starlette, a professional AI assistant with advanced tool orchestration. "
|