Skip to content

Commit 4d0ae7b

Browse files
Merge pull request #10 from Agent-Field/santosh/chatbot-example
Refactor documentation chatbot example and prep 0.1.2 release
2 parents 5ff22b5 + f3a2340 commit 4d0ae7b

11 files changed

Lines changed: 716 additions & 530 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.1.2] - 2025-11-12
8+
### Fixed
9+
- Control-plane Docker image now builds with CGO enabled so SQLite works in containers like Railway.
10+
11+
## [0.1.1] - 2025-11-12
12+
### Added
13+
- Documentation chatbot + advanced RAG examples showcasing Python agent nodes.
14+
- Vector memory storage backends and skill test scaffolding for SDK examples.
15+
16+
### Changed
17+
- Release workflow improvements (selective publishing, prerelease support) and general documentation updates.
18+
719
## [0.1.0] - 2024-XX-XX
820
### Added
921
- Initial open-source release with control plane, Go SDK, Python SDK, and deployment assets.
@@ -13,4 +25,3 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
1325

1426
### Removed
1527
- Private experimental artifacts and internal operational scripts.
16-

control-plane/internal/templates/go/go.mod.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module {{.GoModule}}
22

33
go 1.23
44

5-
require github.com/Agent-Field/agentfield/sdk/go v0.1.0
5+
require github.com/Agent-Field/agentfield/sdk/go v0.1.2

deployments/docker/Dockerfile.control-plane

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ RUN --mount=type=cache,target=/root/.npm npm ci
66
COPY control-plane/web/client/ .
77
RUN npm run build
88

9-
FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS go-builder
9+
FROM --platform=$BUILDPLATFORM golang:1.24-bookworm AS go-builder
1010
WORKDIR /app
1111

1212
ARG TARGETOS
1313
ARG TARGETARCH
14-
ENV CGO_ENABLED=0
14+
ENV CGO_ENABLED=1
15+
16+
RUN apt-get update && apt-get install -y --no-install-recommends \
17+
build-essential \
18+
pkg-config \
19+
gcc-aarch64-linux-gnu \
20+
libc6-dev-arm64-cross \
21+
&& rm -rf /var/lib/apt/lists/*
1522

1623
COPY control-plane/go.mod control-plane/go.sum ./control-plane/
1724
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod \
@@ -21,7 +28,9 @@ COPY control-plane/ ./control-plane/
2128
COPY --from=ui-builder /app/web/dist ./control-plane/web/client/dist
2229

2330
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod \
24-
cd control-plane && GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /app/bin/agentfield-server ./cmd/agentfield-server
31+
cd control-plane && \
32+
if [ "${TARGETARCH}" = "arm64" ]; then export CC=aarch64-linux-gnu-gcc; else export CC=gcc; fi && \
33+
GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags "embedded sqlite_fts5" -o /app/bin/agentfield-server ./cmd/agentfield-server
2534

2635
FROM gcr.io/distroless/base-debian12
2736
COPY --from=go-builder /app/bin/agentfield-server /usr/local/bin/agentfield-server
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
agentfield>=0.1.0
1+
agentfield>=0.1.2
22
fastembed>=0.2.0
33
numpy>=1.24.0

0 commit comments

Comments
 (0)