Roo-Code/packages/types
Roo Code 740c580c16 fix: resolve moonshotai/kimi-k2-instruct max_tokens limit issue
- Update moonshotai/kimi-k2-instruct maxTokens from 8192 to 16384 to match API limit
- Add validation in BaseOpenAiCompatibleProvider to ensure max_tokens never exceeds model limits
- Prevent 400 error when users set modelMaxTokens above API constraints

Fixes #5729
2025-07-15 09:17:25 +00:00
..
npm Bump types to 1.32.0 (#5636) 2025-07-12 14:29:37 -04:00
src fix: resolve moonshotai/kimi-k2-instruct max_tokens limit issue 2025-07-15 09:17:25 +00:00
eslint.config.mjs Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
package.json Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
README.md Bump @roo-code/types to v1.26.0 (#4584) 2025-06-12 11:05:53 -04:00
tsconfig.json Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
tsup.config.ts Improve configuration for npm publish of @roo-code/types (#4062) 2025-05-27 22:10:41 -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

@roo-code/types

Publish to NPM

First authenticate with NPM:

npm login

Next, manually bump the NPM package version:

cd packages/types/npm && npm version minor && cd -

Finally, publish to NPM:

pnpm --filter @roo-code/types npm:publish

Note that you'll be asked for an MFA code to complete the publish.