Roo-Code/src
Roo Code d2467c4f0d fix: add userMessageWasRemoved flag to manual retry path for empty API responses
When the API returns an empty response (no text or tool_use content), the
user message is removed from apiConversationHistory before retrying. The
auto-approval retry path correctly set userMessageWasRemoved: true on the
retry stack item, but the manual retry path (when user clicks Retry) did
not. This caused the retry loop to skip re-adding the user message,
resulting in broken conversation history and cascading empty responses.

Also adds diagnostic logging when empty responses are detected, tracking
stream chunk count, reasoning presence, and content block count to help
diagnose transient API issues.

Fixes #12284
2026-05-08 10:20:55 +00:00
..
__mocks__ Add timeout to OpenAI Compatible Provider Client (#9898) 2025-12-08 17:36:53 -08:00
__tests__ feat: expose skills as slash commands with skill fallback execution (#11834) 2026-03-02 15:10:32 -07:00
activate ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
api feat(vertex): add Claude Opus 4.7 support (#12135) 2026-04-20 11:42:10 -06:00
assets Show the Roo provider on the welcome screen (#8317) 2025-09-25 16:13:04 -04:00
core fix: add userMessageWasRemoved flag to manual retry path for empty API responses 2026-05-08 10:20:55 +00:00
extension feat: add DeleteQueuedMessage IPC command (#11464) 2026-02-18 10:42:48 -07:00
i18n Fix cli task resumption (#11739) 2026-02-25 01:24:05 -08:00
integrations feat: add ROO_ACTIVE env variable to terminal env settings (#11862) 2026-03-04 17:23:52 -07:00
services feat(bedrock): add Cohere Embed v4 model and improve credential handling (Fixes #11823) (#11824) 2026-03-05 18:45:17 -07:00
shared feat: add Poe as an AI provider (#12015) 2026-04-05 23:37:29 -04:00
types Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
utils Add OpenAI GPT-5.3 chat latest and GPT-5.4 model support (#11848) 2026-03-05 14:15:55 -07:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
.gitignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.prettierignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.vscodeignore debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
esbuild.mjs feat(chat): add previous checkpoint navigation controls and i18n (#12139) 2026-04-20 16:12:10 -06:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts feat: remove Roomote Control from extension (#11271) 2026-02-19 16:33:39 -08:00
package.json Changeset version bump (#12172) 2026-04-23 15:26:28 -06:00
package.nls.ca.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.de.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.es.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.fr.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.hi.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.id.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.it.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.ja.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.ko.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.nl.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.pl.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.pt-BR.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.ru.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.tr.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.vi.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.zh-CN.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.zh-TW.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00