Roo-Code/packages/types
Roo Code ac0c694dff feat(openai): add setting to disable native tool calling for models that do not support it
- Add openAiDisableNativeTools setting to provider-settings schema
- Modify OpenAiHandler.getModel() to respect the new setting
- Expand DeepSeek reasoner detection to include deepseek-r1 pattern
- Add UI checkbox in OpenAI Compatible settings
- Add translations for the new setting in all 18 supported locales

This addresses the issue where DeepSeek-R1 and similar models return 400 errors
when native function calling (tools) is included in the request. Users can now
explicitly disable native tools via a setting, giving them control when model
name detection is insufficient (e.g., custom models or proxies).

Closes #10368
2025-12-29 02:02:09 +00:00
..
npm Release: v1.95.0 (#10309) 2025-12-23 10:21:55 -08:00
scripts Fix publish-npm script (#7093) 2025-08-14 03:17:56 -07:00
src feat(openai): add setting to disable native tool calling for models that do not support it 2025-12-29 02:02:09 +00:00
.gitignore Task metadata (#7092) 2025-08-14 03:14:17 -07:00
eslint.config.mjs Task metadata (#7092) 2025-08-14 03:14:17 -07:00
package.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsconfig.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsup.config.ts Bump @roo-code/types to v1.42.0 (#6610) 2025-08-02 13:27:59 -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