Skip to content

Add support for thinking models - #37

Merged
NeonDaniel merged 6 commits into
devfrom
feat_request-thinking
Aug 14, 2026
Merged

Add support for thinking models#37
NeonDaniel merged 6 commits into
devfrom
feat_request-thinking

Conversation

@NeonDaniel

@NeonDaniel NeonDaniel commented Aug 5, 2026

Copy link
Copy Markdown
Member

Description

Update LLMRequest and LLMResponse models to validate kwargs for thinking/reasoning
Add helper getter/setter properties for thinking_token_budget
Add reasoning_content optional field to LLMResponse model
Add test coverage for added params

Issues

Other Notes

  • For default behavior, this enables thinking by default when the model supports it. If thinking_budget is not specified, it is set as half of max_new_tokens

@NeonDaniel
NeonDaniel requested a review from NeonBohdan August 5, 2026 17:59
@NeonDaniel
NeonDaniel marked this pull request as draft August 7, 2026 19:56
@NeonDaniel
NeonDaniel marked this pull request as ready for review August 11, 2026 22:00
@NeonDaniel
NeonDaniel merged commit 0e00aab into dev Aug 14, 2026
6 checks passed
@NeonDaniel
NeonDaniel deleted the feat_request-thinking branch August 14, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants