Skip to content

Commit 6197399

Browse files
fix(agent): clone API repo from master (default branch)
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>
1 parent 3a99a97 commit 6197399

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

agent/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ WORKDIR /opt/deepsql-agent
4242
ARG AGENT_RUNTIME_REPO=https://github.com/NousResearch/hermes-agent.git
4343
ARG AGENT_RUNTIME_REF=main
4444
ARG 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)
4848
RUN 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.
5859
RUN 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; \

0 commit comments

Comments
 (0)