Roo-Code/src
Daniel 28ad8d719e
Reapply reasoning for bedrock with fix (#4645)
* Add reasoning budget support to Bedrock models and update related components

- Introduced `supportsReasoningBudget` property in Bedrock models.
- Enhanced `AwsBedrockHandler` to handle reasoning budget in payloads.
- Updated `ThinkingBudget` component to dynamically set max tokens based on reasoning support.
- Modified `ApiOptions` and `Bedrock` components to conditionally render `ThinkingBudget`.
- Added tests for extended thinking functionality in `bedrock-reasoning.test.ts`.

* Add BedrockThinkingConfig interface and update payload structure

* fix: address PR review feedback (#4481)

- Simplify ThinkingBudget ternary logic since component only renders when reasoning budget supported
- Break down complex thinking enabled condition with clear documentation
- Replace 'as any' usage with proper TypeScript interfaces for AWS SDK events
- Add comprehensive documentation for multiple stream structures explaining AWS SDK compatibility

* feat: show ThinkingBudget component unconditionally

Remove selectedProviderModels.length check to display ThinkingBudget
for all providers, not just those with available models

---------

Co-authored-by: hannesrudolph <hrudolph@gmail.com>
2025-06-13 11:07:27 -04:00
..
__mocks__ Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00
__tests__ Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00
activate Revert "Always focus the panel when clicked to ensure menu buttons are visible" (#4592) 2025-06-12 12:51:34 -04:00
api Reapply reasoning for bedrock with fix (#4645) 2025-06-13 11:07:27 -04:00
assets PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
core v3.20 (#4609) 2025-06-12 17:54:53 -04:00
extension Move evals into pnpm workspace, switch from SQLite to Postgres (#4278) 2025-06-03 01:38:08 -07:00
i18n add mermaid buttons (#4547) 2025-06-12 13:06:27 -04:00
integrations add mermaid buttons (#4547) 2025-06-12 13:06:27 -04:00
services feat: add injectVariables(), support magic variables for MCPs (workspaceFolder) (#4442) 2025-06-12 13:17:41 -04:00
shared feat: Add indexing status badge to chat view (#4429) (#4532) 2025-06-12 21:56:57 -04:00
utils feat: add injectVariables(), support magic variables for MCPs (workspaceFolder) (#4442) 2025-06-12 13:17:41 -04: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 PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
esbuild.mjs Try to fix win32 esbuild (#4479) 2025-06-09 15:03:44 -07:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts Cloud: add auth logs to the output channel (#4270) 2025-06-02 16:56:27 -07:00
jest.config.mjs Codebase indexing (Clean history) (#3137) 2025-05-23 19:07:19 -06:00
package.json Changeset version bump (#4628) 2025-06-13 01:49:08 -04:00
package.nls.ca.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.de.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.es.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.fr.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.hi.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.it.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.ja.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.ko.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.nl.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.pl.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.pt-BR.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.ru.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.tr.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.vi.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.zh-CN.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
package.nls.zh-TW.json Marketplace (#4538) 2025-06-11 17:28:12 -04:00
tsconfig.json PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00
vitest.setup.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00