chatGPTBox
chatGPTBox copied to clipboard
Add reasoning content support (for DeepSeek format API)
For customAPI, try to load delta.reasoning_content and message.reasoning_content if it exists.
For DeepSeek-R1
For GPT-4o
Currently only delta part (streaming) has been tested (I don't know how to trigger a single-request chat completion with the repo).
I'm not familiar with nodejs. Please help me to improve it if possible, thank you!
/review
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here.
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
| ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪ |
| 🧪 No relevant tests |
| 🔒 No security concerns identified |
⚡ Recommended focus areas for reviewLogic Flow
|
/improve
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here.
PR Code Suggestions ✨
| Category | Suggestion | Impact |
| Possible issue |
Fix reasoning marker logicThe current implementation adds the reasoning end sign for every delta chunk src/services/apis/custom-api.mjs [91-107]
Suggestion importance[1-10]: 7__ Why: The suggestion correctly identifies a logical issue where the | Medium |
| ||