chore(examples/chatbot-with-recall): bump sdk to v0.2.7, drop replace#70
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github.com/GizClaw/flowcraft/sdkinexamples/chatbot-with-recallfromv0.1.11tov0.2.7and remove the localreplacedirective so the example mirrors a downstream consumer.chatbot-with-recallbinary to.gitignore.tests/quality/knowledge/doc.gopackage comment so it survivesgofmtwithout 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.NewTextMessageis unchanged across these SDK versions.Test plan
GOWORK=off go mod tidyinexamples/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.gois idempotent on the new wordingMade with Cursor