File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ WORKDIR /opt/deepsql-agent
4242ARG AGENT_RUNTIME_REPO=https://github.com/NousResearch/hermes-agent.git
4343ARG AGENT_RUNTIME_REF=main
4444ARG AGENT_API_REPO=https://github.com/nesquena/hermes-webui.git
45- ARG AGENT_API_REF=main
45+ ARG AGENT_API_REF=master
4646
4747# Runtime engine (Python agent)
4848RUN git clone --depth 1 --branch "${AGENT_RUNTIME_REF}" "${AGENT_RUNTIME_REPO}" runtime \
@@ -54,8 +54,10 @@ RUN git clone --depth 1 --branch "${AGENT_RUNTIME_REF}" "${AGENT_RUNTIME_REPO}"
5454 # and breaks every DeepSQL tool call until the runtime catches up.
5555 && UV_NO_CONFIG=1 uv pip install --python venv/bin/python 'mcp>=1.0,<2' 'pyyaml>=6'
5656
57- # HTTP API surface the frontend / backend talk to (:8787)
57+ # HTTP API surface the frontend / backend talk to (:8787).
58+ # Default branch is master (not main). Fall back to HEAD if the ref moves.
5859RUN git clone --depth 1 --branch "${AGENT_API_REF}" "${AGENT_API_REPO}" api \
60+ || git clone --depth 1 "${AGENT_API_REPO}" api \
5961 && cd api \
6062 && if [ -f requirements.txt ]; then \
6163 /opt/deepsql-agent/runtime/venv/bin/pip install -r requirements.txt; \
You can’t perform that action at this time.
0 commit comments