Skip to content

fix(test): use deterministic echo prompt for session scenarios - #5

Merged
moonyue-w merged 1 commit into
mainfrom
fix/session-echo-prompt
Sep 23, 2026
Merged

moonyue-w merged 1 commit into
mainfrom
fix/session-echo-prompt

Conversation

@moonyue-w

Copy link
Copy Markdown
Collaborator

Align with Go/TS: 'Reply with exactly ' instead of asking the model for a free-form introduction with a trailing marker. The old Chinese prompt gave the model room to refuse echoing the random string.

Summary

Why

Verification

  • uv run make lint
  • uv run make typecheck
  • uv run make test
  • uv run make docs-check
  • Example --help smoke checks
  • Account-backed integration tests run, or not required

Commands and results:


Impact

  • Public API or behavior changed
  • Synchronous and asynchronous clients remain aligned
  • Generated API documentation updated
  • Contract fixtures updated
  • Go and TypeScript parity considered
  • Migration notes added for a breaking change
  • No credentials, .env.live, logs, or generated test output committed

Additional context:

Align with Go/TS: 'Reply with exactly <marker>' instead of asking the
model for a free-form introduction with a trailing marker. The old
Chinese prompt gave the model room to refuse echoing the random string.
@moonyue-w
moonyue-w merged commit 71c7284 into main Sep 23, 2026
4 checks passed
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