Repository navigation
docs: say that --no-cache calls the model instead of replaying cached actions - #1913
Conversation
… actions "Add --no-cache to skip cached actions" reads as if the agent steps are skipped. They still run: with the replay cache off, each step calls the model. The quickstart in English, Japanese, and Chinese, and the Context7 rule, now say that. The Japanese quickstart also ends the --headed and --no-cache sentences, and the example prompt 「購入手続きのテストを追加してください」, with the polite request form, so the two parallel flag sentences read the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
No issues found across 4 files
Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.
View guided diff | Re-trigger cubic
|
Note 🤖 Claude Opus 5.5 responding on behalf of Samanyu Das @kacperkapusciak can you review this? It changes your Japanese quickstart from #1875. The quickstart said Three Japanese sentences now end in 〜してください, including the example prompt. The English and Chinese prompts stay casual, so say if the Japanese one should too. All 27 checks pass. This account can't add the |
okwasniewski
left a comment
There was a problem hiding this comment.
[claude-opus-5-5] automated review on behalf of @okwasniewski
Checked f785b60 (main 66d07ca): the wording against runner.ts (noCache sets the mode to off), cache/context.ts and agent/act.ts, and the ja/zh lines.
Must fix: none.
The new sentence matches the code: with --no-cache each agent.act step calls the model, and nothing is replayed or recorded. The ja/zh sentences say the same, and context7.json is fixed too. CI is green.
@kacperkapusciak should still confirm the Japanese politeness change (〜してください), since it changes the tone of #1875.
kacperkapusciak
left a comment
There was a problem hiding this comment.
thank you for your contribution! 🏅
…tions (#1821) * Docs: say E2E_NO_CACHE calls the model instead of replaying cached actions (e2e-inc/e2e#1913) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls2e22oTDZ44K81VX7oEBC * Docs: reword E2E_NO_CACHE in the caching guide Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls2e22oTDZ44K81VX7oEBC --------- Co-authored-by: Claude <noreply@anthropic.com>
The quickstart said "Add
--no-cacheto skip cached actions". That reads as if the agent steps don't run. They do run: with the replay cache off, eachagent.actstep calls the model instead of replaying its recording.docs/quickstart.mdx: "Add--no-cacheto call the model instead of replaying cached actions."docs/ja/quickstart.mdxanddocs/zh/quickstart.mdx: the same sentence, translated. The old Japanese 「キャッシュを使わずに操作させる」 and Chinese 「跳过缓存的操作」 carried the same ambiguity.context7.json: the rule agents read had the same "skip cached actions" wording.docs/ja/quickstart.mdxalso ends three sentences in the polite request form (〜してください), as a Japanese-speaking reader asked:--headedsentence next to the--no-cacheone, so the two parallel "Add ..." sentences read the sameThe behavior is in
packages/e2e/src/run/runner.ts:474(noCachesets the mode to'off'),packages/core/src/cache/context.ts:261(no cache context when off), andpackages/core/src/agent/act.ts:269(no cache means the step goes to the executor live).Verified
Ran it locally: yes
CI=1, committed recordings, no model key set:e2e run tests-agent/login-form.e2e.ts --config e2e.agent.config.tsCache 1 replayed, no model call--no-cacheMODEL_PROVIDER_FAILED: Unauthenticated request to AI GatewayThe second run reached the model, so the step was not skipped.
.e2e/cache/was unchanged after it.pnpm docs:check: 162 translated pages match their English outline and code, and 3571 anchor links resolve.For maintainers
docs/ja/should stay casual instead.Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved
🤖 Generated with Claude Code