Skip to content

Conversation

@ZeroAurora
Copy link

@ZeroAurora ZeroAurora commented Nov 24, 2025

Closes #3446 . Related to #3515.
#3533 is doing the same.

  • Introduced openai_chat_custom_reasoning_field and openai_chat_include_reasoning_in_request to OpenAIModelProfile.
  • Updated deepseek_model_profile and moonshotai_model_profile to utilize the new fields.
  • Enhanced OpenAIChatModel to prefer custom reasoning fields and provide fallback options.
  • Added relevant documentations.

@ZeroAurora

This comment was marked as resolved.

@ZeroAurora

This comment was marked as resolved.

@ZeroAurora
Copy link
Author

ZeroAurora commented Nov 24, 2025

图片 This test is interesting: we are getting different line breaks by spilting thinks and texts and recombining them again (which the code does originally). I don't think it's good for context caching, but let's keep it for now.

- Introduced `openai_chat_custom_reasoning_field` and `openai_chat_include_reasoning_in_request` to `OpenAIModelProfile`.
- Updated `deepseek_model_profile` and `moonshotai_model_profile` to utilize the new fields.
- Enhanced `OpenAIChatModel` to prefer custom reasoning fields and provide fallback options.
- Added relevant documentations.
@ZeroAurora ZeroAurora force-pushed the feat/custom-reasoning-field branch from ac74841 to 31b3042 Compare November 24, 2025 20:12
@ZeroAurora
Copy link
Author

ZeroAurora commented Nov 24, 2025

all pass full cov let's goooo
review appreciated @DouweM

@ZeroAurora
Copy link
Author

ZeroAurora commented Nov 26, 2025

Let me start work on this
my dev machine died so following ups might delay

@ZeroAurora

This comment was marked as resolved.

@ZeroAurora ZeroAurora force-pushed the feat/custom-reasoning-field branch from 2a249d5 to c37a657 Compare November 27, 2025 03:42
@ZeroAurora ZeroAurora requested a review from DouweM November 27, 2025 03:50
@ZeroAurora ZeroAurora force-pushed the feat/custom-reasoning-field branch from c37a657 to 1807d54 Compare November 27, 2025 08:33
@ZeroAurora ZeroAurora force-pushed the feat/custom-reasoning-field branch from 1807d54 to c93aa15 Compare November 27, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send back thinking parts in a field of request message

2 participants