Skip to content

chore(examples/chatbot-with-recall): bump sdk to v0.2.7, drop replace#70

Merged
lIang70 merged 2 commits into
mainfrom
chore/bump-chatbot-with-recall
May 7, 2026
Merged

chore(examples/chatbot-with-recall): bump sdk to v0.2.7, drop replace#70
lIang70 merged 2 commits into
mainfrom
chore/bump-chatbot-with-recall

Conversation

@lIang70

@lIang70 lIang70 commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump github.com/GizClaw/flowcraft/sdk in examples/chatbot-with-recall from v0.1.11 to v0.2.7 and remove the local replace directive so the example mirrors a downstream consumer.
  • Add the locally built chatbot-with-recall binary to .gitignore.
  • Restructure tests/quality/knowledge/doc.go package comment so it survives gofmt without losing semantic grouping (column-aligned multi-line bullets were being normalised to a flat 4-space continuation).

No source changes were necessary in the example: model.NewTextMessage is unchanged across these SDK versions.

Test plan

  • GOWORK=off go mod tidy in examples/chatbot-with-recall/
  • GOWORK=off go build ./...
  • GOWORK=off go vet ./...
  • GOWORK=off go run . — all 4 scripted turns produce the expected output (incl. cross-turn recall of the "dark mode" preference)
  • gofmt -w tests/quality/knowledge/doc.go is idempotent on the new wording

Made with Cursor

lIang70 and others added 2 commits May 7, 2026 17:05
- Upgrade sdk dependency from v0.1.11 to v0.2.7 (latest released).
- Remove the local `replace` directive so the example mirrors how a
  downstream consumer would depend on the published module.
- Verified with `GOWORK=off go build ./...`, `go vet ./...`, and a full
  scripted run; all four turns produce the expected output.
- Ignore the locally built `chatbot-with-recall` binary.

Co-authored-by: Cursor <cursoragent@cursor.com>
The original column-aligned bullet list relied on multi-line description
indentation that gofmt normalises to a 4-space continuation, making the
EMBEDDING_* env-var description visually collapse into the bullet item
and lose its semantic grouping.

Restructure the section so each bullet is a single line and lift the
integration-suite env-var requirements into a follow-up paragraph; this
form is idempotent under gofmt.

Co-authored-by: Cursor <cursoragent@cursor.com>
@lIang70
lIang70 merged commit 36680b8 into main May 7, 2026
10 checks passed
@lIang70
lIang70 deleted the chore/bump-chatbot-with-recall branch May 7, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant