Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Apr 28, 2025

Context

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Adds reasoning effort feature to OpenAI handler with UI support and localization updates.

  • Behavior:
    • Adds enableReasoningEffort option to ProviderSettings in types.ts and roo-code.d.ts.
    • Updates providerSettingsSchema in schemas/index.ts to include enableReasoningEffort.
    • Implements reasoning effort logic in OpenAiHandler in openai.test.ts.
  • UI:
    • Adds checkbox for enableReasoningEffort in ApiOptions.tsx.
    • Updates ApiOptions.test.tsx to test new checkbox behavior.
  • Localization:
    • Updates multiple language files (e.g., settings.json in locales/ja, locales/ko, locales/pl, etc.) to include setReasoningLevel translation.
  • Dependencies:
    • Adds @types/node-cache to package.json.

This description was created by Ellipsis for d8406ac. You can customize this summary. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Apr 28, 2025

⚠️ No Changeset found

Latest commit: d8406ac

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Apr 28, 2025
@ellipsis-dev
Copy link
Contributor

ellipsis-dev bot commented Apr 28, 2025

The pull request contains multiple types of changes, including adding a new feature (reasoning effort), tests, and translations for multiple languages. To improve clarity and reviewability, consider splitting the translations into a separate pull request from the feature and tests. This will allow for more focused review and testing of each aspect.

@dosubot dosubot bot added the enhancement New feature or request label Apr 28, 2025
"low": "Низкие"
}
},
"setReasoningLevel": "Включить усилие рассуждения"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new key setReasoningLevel uses the phrase 'Включить усилие рассуждения'. For consistency with the label in reasoningEffort (which uses 'Усилия по рассуждению модели'), consider updating it to 'Включить усилия рассуждения'.

Suggested change
"setReasoningLevel": "Включить усилие рассуждения"
"setReasoningLevel": "Включить усилия рассуждения"

@cte cte closed this Apr 28, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Apr 28, 2025
@cte cte deleted the cte/openai-compatible-reasoning-effor branch April 28, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants