Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

โœจ feat: add o3-mini support for OpenAI & GitHub Models #5657

Merged
merged 16 commits into from
Feb 3, 2025

Conversation

hezhijie0327
Copy link
Contributor

@hezhijie0327 hezhijie0327 commented Feb 2, 2025

๐Ÿ’ป ๅ˜ๆ›ด็ฑปๅž‹ | Change Type

  • โœจ feat
  • ๐Ÿ› fix
  • โ™ป๏ธ refactor
  • ๐Ÿ’„ style
  • ๐Ÿ‘ท build
  • โšก๏ธ perf
  • ๐Ÿ“ docs
  • ๐Ÿ”จ chore

๐Ÿ”€ ๅ˜ๆ›ด่ฏดๆ˜Ž | Description of Change

  1. ๅขžๅŠ  o3-mini ๆจกๅž‹
  2. ่กฅ้ฝๆ•ฐๆฎๅบ“ๆจกๅผไธ‹ o1 ๆจกๅž‹ไธขๅคฑ็š„้—ฎ้ข˜
  3. ้‡ๅ‘ฝๅ o1Models -> reasoningModels
  4. ้‡ๅ‘ฝๅ pruneO1Payload -> pruneReasoningPayload
  5. GitHub Models ไธญ o3-mini ็ฆ็”จๆตๅผ่พ“ๅ‡บ
  6. ๆ›ดๆ–ฐ o1-mini ไปทๆ ผ๏ผŒๅŒ o3-mini
  7. ๅฐ† system role ไปŽ user ๆ”นไธบ developer
  8. ๅขžๅŠ  reasoning_effort ๆŽงๅˆถ๏ผŒๅฏๅœจ Agent ่ฎพ็ฝฎไธญๅฏ็”จ๏ผˆ้ป˜่ฎคไธบ็ฆ็”จๅณไธๅผ•ๅ…ฅๅ‚ๆ•ฐ๏ผ‰๏ผŒๅฏ็”จๅŽๅฏ้€‰ๆ‹ฉ low medium high๏ผˆ้ป˜่ฎคไธบ medium๏ผ‰
  9. ๅขžๅŠ  Discover ไธญๅฏน reasoning_effort ็š„ๆ่ฟฐ๏ผŒ่กฅ้ฝๆ–‡ๆกฃ

๐Ÿ“ ่กฅๅ……ไฟกๆฏ | Additional Information

ๅŠŸ่ƒฝ ๆˆชๅ›พ
ๅฏน่ฏ image
ๅทฅๅ…ท่ฐƒ็”จ image
System Prompt image
Reasoning Effort imageimage
Discover image

ref: https://platform.openai.com/docs/api-reference/chat/create#chat-create-messages
image


close #5644
close #5649
close #5643
close #5690

Copy link

vercel bot commented Feb 2, 2025

@hezhijie0327 is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 2, 2025
@lobehubbot
Copy link
Member

๐Ÿ‘ @hezhijie0327

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
้žๅธธๆ„Ÿ่ฐขๆ‚จๆๅ‡บๆ‹‰ๅ–่ฏทๆฑ‚ๅนถไธบๆˆ‘ไปฌ็š„็คพๅŒบๅšๅ‡บ่ดก็Œฎ๏ผŒ่ฏท็กฎไฟๆ‚จๅทฒ็ป้ตๅพชไบ†ๆˆ‘ไปฌ็š„่ดก็ŒฎๆŒ‡ๅ—๏ผŒๆˆ‘ไปฌไผšๅฐฝๅฟซๅฎกๆŸฅๅฎƒใ€‚
ๅฆ‚ๆžœๆ‚จ้‡ๅˆฐไปปไฝ•้—ฎ้ข˜๏ผŒ่ฏท้šๆ—ถไธŽๆˆ‘ไปฌ่”็ณปใ€‚

@dosubot dosubot bot added the ๐Ÿ’„ Design Design an style | ๆ ทๅผ้—ฎ้ข˜ label Feb 2, 2025
Copy link
Contributor

gru-agent bot commented Feb 2, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail 96a1996 โœ… Finished

Files

File Pull Request
src/libs/agent-runtime/openai/index.ts โŒ Failure (I failed to write the unit tests for the file.)

Tip

You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

Copy link

codecov bot commented Feb 2, 2025

Codecov Report

Attention: Patch coverage is 94.59459% with 4 lines in your changes missing coverage. Please review.

Project coverage is 92.12%. Comparing base (58a86fc) to head (e79fe29).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/openai/index.ts 71.42% 2 Missing โš ๏ธ
src/libs/agent-runtime/github/index.ts 66.66% 1 Missing โš ๏ธ
...store/chat/slices/aiChat/actions/generateAIChat.ts 80.00% 1 Missing โš ๏ธ
Additional details and impacted files
@@            Coverage Diff            @@
##             main    #5657     +/-   ##
=========================================
  Coverage   92.11%   92.12%             
=========================================
  Files         647      647             
  Lines       57831    57888     +57     
  Branches     4270     2910   -1360     
=========================================
+ Hits        53272    53328     +56     
- Misses       4559     4560      +1     
Flag Coverage ฮ”
app 92.12% <94.59%> (+<0.01%) โฌ†๏ธ
server 98.01% <รธ> (รธ)

Flags with carried forward coverage won't be shown. Click here to find out more.

โ˜” View full report in Codecov by Sentry.
๐Ÿ“ข Have feedback on the report? Share it here.

@Sen-CaPoo
Copy link

image

ไผผไนŽ้‚„ๆฒ’ๆœ‰ๅฐ ่ชฟๆ•ดๆ€่€ƒๆ™‚้–“(reasoning_effort) ๅƒๆ•ธ้€ฒ่กŒ่™•็†๏ผŒไฝ†ๅฏไปฅ็ขบไฟ o3-mini ๆจกๅž‹็š„ๅŸบๆœฌ้‹ไฝœ(Defaults to medium)ใ€‚
๏ผˆo1 ๆญฃๅผ็‰ˆ,o3-mini ๅ…ฉ็จฎๆจกๅž‹ๆ”ฏๆดๆญคๅƒๆ•ธ๏ผ‰

ๅƒ่€ƒ #5643

@hezhijie0327
Copy link
Contributor Author

ๅŠ ไบ†ไธช UI ่ฎพ็ฝฎ๏ผŒไฝ†ๆ˜ฏไผš่ฎฉๆ‰€ๆœ‰ๆจกๅž‹้ƒฝๅŠ ไธŠ reasoning_effort ๆ”นๅŠจ้กนไผšๆฏ”่พƒๅคš๏ผŒ็œ‹็œ‹ๆœ‰ๆฒกๆœ‰ๅ…ถไป–่งฃๆณ•
image
image

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Feb 2, 2025
@hezhijie0327
Copy link
Contributor Author

@Sen-CaPoo ๅทฒๆ”ฏๆŒ๏ผŒ้ป˜่ฎค็ฆ็”จ๏ผŒๅฏ็”จๅŽๅฐ†ๅผ•ๅ…ฅ reasoning_effort ๅนถๆไพ›ไธ‹ๆ‹‰ๆก†้€‰ๆ‹ฉๆŽจ็†ๅผบๅบฆ

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


@Sen-CaPoo has been supported and disabled by default. After use, it will be introduced to reasoning_effort and provide a drop-down box to select the reasoning strength

@Sen-CaPoo
Copy link

ๅŠ ไบ†ไธช UI ่ฎพ็ฝฎ๏ผŒไฝ†ๆ˜ฏไผš่ฎฉๆ‰€ๆœ‰ๆจกๅž‹้ƒฝๅŠ ไธŠ reasoning_effort ๆ”นๅŠจ้กนไผšๆฏ”่พƒๅคš๏ผŒ็œ‹็œ‹ๆœ‰ๆฒกๆœ‰ๅ…ถไป–่งฃๆณ• image image

image

ๆšซๆ™‚่งฃๆฑบๆ–นๆกˆ้€™ๆจฃไผผไนŽๅทฒ็ถ“ๆปฟ่ถณ๏ผŒ็•ข็ซŸไธๅคชๆœƒๆฏไธ€ๆฌกๅฐ่ฉฑ้ƒฝ่ชฟๆ•ดๆ€่€ƒๆ™‚้–“็š„้ธ้ …๏ผ›ๆœ€็ต‚็†ๆƒณๅฏ่ƒฝๆœƒๆ˜ฏ้‡ๅˆฐ OpenAI ็š„ๆ€่€ƒๆจกๅž‹ๆœƒๅœจๅฐ่ฉฑ่ผธๅ…ฅๆก†ไธŠๆ–น็š„ๅทฅๅ…ทๅˆ—ๅ‡บ็พไธ€ๅ€‹ๅฟซ้€Ÿ้ธๆ“‡ๆ€่€ƒๆ™‚้–“็š„ๅทฅๅ…ทใ€‚

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


Add a UI settings, but it will add more models to Reasoning_effort to change more, see if there are other solutions! [Image] (https://private- user-githubusercontent.com/58100052 /408841484-82FBF33F-6715-4bb3-8C03-DB8A14200C75.png?jwt=eyjhbgcioiji1niisinr5cci6ikpxVCJ9..Hzzxc01bwituzx8yc8ai2VMGBHBHBH M_nzpkm5po)! [Image] (https://private- user-images.githubusercontent.com/58100052/408841513-3AFB0E96-0f46-4F33 -AD85-7D32A137DBF0.PNG? JWT = Eyjhbgcioijiu1niisinr5CCI6IKPXVCJ9..PSOM1NRUG3XHluskqnr6ehpov5twnxlz-PE_2M)

! [Image] (https://github.com/user-attachments/aSSETS/E3DB6262-1C6B-4352-9a62-1402795402B5))))))))

The temporary solution seems to be satisfied. After all, it is not very good to adjust the option of thinking time every time; in the end, the ideal may be that the thinking model of the OpenAI thinks will appear in the toolbar of the dialogue input box. Essence

@Sun-drenched
Copy link

ๅŠ ไบ†ไธช UI ่ฎพ็ฝฎ๏ผŒไฝ†ๆ˜ฏไผš่ฎฉๆ‰€ๆœ‰ๆจกๅž‹้ƒฝๅŠ ไธŠ reasoning_effort ๆ”นๅŠจ้กนไผšๆฏ”่พƒๅคš๏ผŒ็œ‹็œ‹ๆœ‰ๆฒกๆœ‰ๅ…ถไป–่งฃๆณ• image image

ๅœจ #5556 ๆˆ‘่ฏ„่ฎบไธ‹็š„่ฎจ่ฎบไธญ๏ผŒxuไผผไนŽ่ฏด่ฟ‡ไป–ไปฌๆœ‰ๆจกๅž‹ๅฑ‚้ข็ป‘ๅฎšๅ‚ๆ•ฐ็š„่ทฏ็บฟใ€‚

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


Add a UI settings, but it will add more models to Reasoning_effort to change more, see if there are other solutions! [Image] (https://private- user-githubusercontent.com/58100052 /408841484-82FBF33F-6715-4BB3 -8C03-DB8A14200C75.png?jwt=eyjhbgcioiji1niisinr5CCI6IKPXVCJ9-ku6l9Sgan99jdawl-Zu8fpy6n_ 5YOHFVGFQW)! [Image] (https://private- user-images.githubusercontent.com/58100052/408841513-3AFB0E96-0F46 -4F33-AD85-7D32A137DBF0.PNG? JWT = Eyjhbgcioijiu1niisinr5CCI6IKPXVCJ9..Zmqc41ceigz-EMXXFPUS1RDDDVELBETN82D9YPNMVYIA)

In the discussion under #5556, XU seemed to say that they had the route of binding parameters at the model level.

@Sun-drenched
Copy link

Sun-drenched commented Feb 2, 2025

ไผผไนŽๆŽจ็†ๆจกๅž‹ๅคงๅคšไธๆŽฅๅ—temperatureใ€top_pใ€presence_penaltyใ€frequency_penalty็ญ‰ๅธธ่ง„ๆจกๅž‹ๅ‚ๆ•ฐ๏ผˆๆฏ”ๅฆ‚R1๏ผ‰๏ผŒๆ‰€ไปฅๅปบ่ฎฎๅœจ่ฟ™ไธชPRไธญไธ€ๅนถๆไพ›ๆŽจ็†ๆจกๅž‹็ฆ็”จไธŠ่ฟฐๅ‚ๆ•ฐ่ฎพ็ฝฎ๏ผˆUIไธญไนŸ็ฝฎไบŽไธๅฏ็”จ๏ผ‰็š„่ทฏๅพ„
ๅฆๅค–่ฟ˜ๆœ‰ไธ€ไบ›ๆจกๅž‹็š„temperatureไธๆŽจ่็”จๆˆทไฟฎๆ”น๏ผˆๆฏ”ๅฆ‚่…พ่ฎฏๆททๅ…ƒโ€œๆจกๅž‹ๅทฒๆœ‰้ป˜่ฎคๅ‚ๆ•ฐ๏ผŒไธไผ ๅ€ผๆ—ถไฝฟ็”จๅ„ๆจกๅž‹ๆŽจ่ๅ€ผ๏ผŒไธๆŽจ่็”จๆˆทไฟฎๆ”นโ€๏ผ‰๏ผŒๅปบ่ฎฎไธ€ๅนถ็ป™ๅ‡บไธไผ temperatureๅ‚ๆ•ฐ็š„่ฎพ็ฝฎ

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


It seems that most of the reasoning models do not accept conventional model parameters such as Temperature, TOP_P, Presence_Penalty, Frequency_Penalty (such as R1). Therefore

@hezhijie0327
Copy link
Contributor Author

hezhijie0327 commented Feb 2, 2025

ไผผไนŽๆŽจ็†ๆจกๅž‹ๅคงๅคšไธๆŽฅๅ—temperatureใ€top_pใ€presence_penaltyใ€frequency_penalty็ญ‰ๅธธ่ง„ๆจกๅž‹ๅ‚ๆ•ฐ๏ผˆๆฏ”ๅฆ‚R1๏ผ‰๏ผŒๆ‰€ไปฅๅปบ่ฎฎๅœจ่ฟ™ไธชPRไธญไธ€ๅนถๆไพ›ๆŽจ็†ๆจกๅž‹็ฆ็”จไธŠ่ฟฐๅ‚ๆ•ฐ่ฎพ็ฝฎ๏ผˆUIไธญไนŸ็ฝฎไบŽไธๅฏ็”จ๏ผ‰็š„่ทฏๅพ„

ๆˆ‘็œ‹ไบ†ไธ‹ R1 ๅ’Œ o1 ็›ฎๅ‰็š„็ญ–็•ฅไธ€่‡ด๏ผŒๅœจไฝฟ็”จๆŽจ็†ๆจกๅž‹ๆ—ถ็›ดๆŽฅๅฟฝ็•ฅ่ฟ™ไบ›ๅ‚ๆ•ฐ๏ผŒUI ๅฆ‚ไฝ•่ฎพ็ฝฎ้ƒฝไธๅฝฑๅ“ๅŽ็ปญไผ ๅ‚

return {
...payload,
model,
...(model === 'deepseek-reasoner'
? {
frequency_penalty: undefined,
messages: filteredMessages,
presence_penalty: undefined,
temperature: undefined,
top_p: undefined,
}
: {
frequency_penalty,
messages,
presence_penalty,
temperature,
top_p,
}),
} as OpenAI.ChatCompletionCreateParamsStreaming;

export const pruneO1Payload = (payload: ChatStreamPayload) => ({
...payload,
frequency_penalty: 0,
messages: payload.messages.map((message: OpenAIChatMessage) => ({
...message,
role: message.role === 'system' ? 'user' : message.role,
})),
presence_penalty: 0,
temperature: 1,
top_p: 1,
});

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


It seems that most of the derived models do not accept conventional model parameters such as TEMPERATURE, TOP_P, Presence_Penalty, Frequency_Penalty (such as R1), so it is recommended to provide a path for the above parameters (in the UI is not available) in this PR.

I looked at the current strategies of R1 and O1. When using the reasoning model, I ignored these parameters directly. How to set up UI will not affect subsequent pass parameters.

@Sun-drenched
Copy link

ไผผไนŽๆŽจ็†ๆจกๅž‹ๅคงๅคšไธๆŽฅๅ—temperatureใ€top_pใ€presence_penaltyใ€frequency_penalty็ญ‰ๅธธ่ง„ๆจกๅž‹ๅ‚ๆ•ฐ๏ผˆๆฏ”ๅฆ‚R1๏ผ‰๏ผŒๆ‰€ไปฅๅปบ่ฎฎๅœจ่ฟ™ไธชPRไธญไธ€ๅนถๆไพ›ๆŽจ็†ๆจกๅž‹็ฆ็”จไธŠ่ฟฐๅ‚ๆ•ฐ่ฎพ็ฝฎ๏ผˆUIไธญไนŸ็ฝฎไบŽไธๅฏ็”จ๏ผ‰็š„่ทฏๅพ„

ๆˆ‘็œ‹ไบ†ไธ‹ R1 ๅ’Œ o1 ็›ฎๅ‰็š„็ญ–็•ฅไธ€่‡ด๏ผŒๅœจไฝฟ็”จๆŽจ็†ๆจกๅž‹ๆ—ถ็›ดๆŽฅๅฟฝ็•ฅ่ฟ™ไบ›ๅ‚ๆ•ฐ๏ผŒUI ๅฆ‚ไฝ•่ฎพ็ฝฎ้ƒฝไธๅฝฑๅ“ๅŽ็ปญไผ ๅ‚

return {
...payload,
model,
...(model === 'deepseek-reasoner'
? {
frequency_penalty: undefined,
messages: filteredMessages,
presence_penalty: undefined,
temperature: undefined,
top_p: undefined,
}
: {
frequency_penalty,
messages,
presence_penalty,
temperature,
top_p,
}),
} as OpenAI.ChatCompletionCreateParamsStreaming;

export const pruneO1Payload = (payload: ChatStreamPayload) => ({
...payload,
frequency_penalty: 0,
messages: payload.messages.map((message: OpenAIChatMessage) => ({
...message,
role: message.role === 'system' ? 'user' : message.role,
})),
presence_penalty: 0,
temperature: 1,
top_p: 1,
});

emmm๏ผŒๅ…ถๅฎžๆˆ‘็š„ๆ„ๆ€ๆ˜ฏๅœจUIไธญ็ป™ไบˆๅ‚ๆ•ฐไธๅฏ็”จ็š„ๆ็คบ๏ผŒๆฏ”ๅฆ‚ๆธฉๅบฆ่ฎพ็ฝฎ้กน็›ดๆŽฅ็ฝฎไบŽไธๅฏ็‚นๅ‡ป็ญ‰ๆ–นๅผ

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


It seems that most of the derived models do not accept conventional model parameters such as Temperature, TOP_P, Presence_Penalty, Frequency_Penalty (such as R1).
"
I looked at the current strategies of R1 and O1. When using the reasoning model, they ignored these parameters directly. How to set up UI will not affect subsequent pass parameters.
"
https://github.com/lobehub/lobe- Chat/blob/2bec8766a5cb4F3223761756617C235B/Src/Libs/ager/deepseek/index.ts# L38-l56
"
https://github.com/lobehub/lobe- Chat/blob/2bec8766a5cb4F3223761756617C235B/SRC/Libs/ager/openai/index.ts#L14 -L24

EMMM, in fact, I mean that the parameters are not available in the UI, such as the temperature setting item is directly placed in the method of not clicking

@arvinxx
Copy link
Contributor

arvinxx commented Feb 3, 2025

ci ๅ’‹ๆŒ‚ไบ†

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


Ci hung up

Copy link

vercel bot commented Feb 3, 2025

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
lobe-chat-preview โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Feb 3, 2025 9:03am

@hezhijie0327
Copy link
Contributor Author

@arvinxx ้‡ๆ–ฐๆ‹‰ไบ†ไธ‹ไธป็บฟๅฐฑๅฅฝไบ†๏ผŒ็œ‹ไบ†ไธ‹ไน‹ๅ‰็š„ๆŠฅ้”™ๅฅฝๅƒๆ˜ฏๆ•ฐๆฎๅบ“ๆต‹่ฏ•่ถ…ๆ—ถ
image

@arvinxx arvinxx changed the title ๐Ÿ’„ style: add o3-mini support for OpenAI & GitHub Models โœจ feat: add o3-mini support for OpenAI & GitHub Models Feb 3, 2025
@arvinxx arvinxx merged commit 492cfd4 into lobehub:main Feb 3, 2025
7 of 8 checks passed
@lobehubbot
Copy link
Member

โค๏ธ Great PR @hezhijie0327 โค๏ธ

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
้กน็›ฎ็š„ๆˆ้•ฟ็ฆปไธๅผ€็”จๆˆทๅ้ฆˆๅ’Œ่ดก็Œฎ๏ผŒๆ„Ÿ่ฐขๆ‚จ็š„่ดก็Œฎ! ๅฆ‚ๆžœๆ‚จๅฏน LobeHub ๅผ€ๅ‘่€…็คพๅŒบๆ„Ÿๅ…ด่ถฃ๏ผŒ่ฏทๅŠ ๅ…ฅๆˆ‘ไปฌ็š„ discord๏ผŒ็„ถๅŽ็งไฟก @arvinxx ๆˆ– @canisminor1990ใ€‚ไป–ไปฌไผš้‚€่ฏทๆ‚จๅŠ ๅ…ฅๆˆ‘ไปฌ็š„็งๅฏ†ๅผ€ๅ‘่€…้ข‘้“ใ€‚ๆˆ‘ไปฌๅฐ†ไผš่ฎจ่ฎบๅ…ณไบŽ Lobe Chat ็š„ๅผ€ๅ‘๏ผŒๅˆ†ไบซๅ’Œ่ฎจ่ฎบๅ…จ็ƒ่Œƒๅ›ดๅ†…็š„ AI ๆถˆๆฏใ€‚

@hezhijie0327 hezhijie0327 deleted the o3 branch February 3, 2025 09:46
github-actions bot pushed a commit that referenced this pull request Feb 3, 2025
## [Version&nbsp;1.50.0](v1.49.16...v1.50.0)
<sup>Released on **2025-02-03**</sup>

#### โœจ Features

- **misc**: Add `o3-mini` support for OpenAI & GitHub Models.

#### ๐Ÿ› Bug Fixes

- **misc**: Fix parse of deepseek r1 in siliconflow provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add `o3-mini` support for OpenAI & GitHub Models, closes [#5657](#5657) ([492cfd4](492cfd4))

#### What's fixed

* **misc**: Fix parse of deepseek r1 in siliconflow provider, closes [#5687](#5687) ([44e81e2](44e81e2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

๐ŸŽ‰ This PR is included in version 1.50.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

@SAnBlog
Copy link

SAnBlog commented Feb 3, 2025

v1.50.0 ๆ•ฐๆฎๅบ“็‰ˆๆœฌ้•œๅƒๆž„ๅปบๅคฑ่ดฅไบ†

@hezhijie0327
Copy link
Contributor Author

emmm ๅพ—็‚นไธ‹้‡ๆ–ฐๆž„ๅปบ

#27 343.8 Segmentation fault (core dumped)

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


EMMM has to be restarted down

` #27 343.8 segmentation fault (core dumped) `

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Feb 3, 2025
## [Version&nbsp;1.92.0](v1.91.6...v1.92.0)
<sup>Released on **2025-02-03**</sup>

#### โœจ Features

- **misc**: Add `o3-mini` support for OpenAI & GitHub Models.

#### ๐Ÿ› Bug Fixes

- **misc**: Fix parse of deepseek r1 in siliconflow provider, fix provider update issue, Optimize requests without historical messages.

#### ๐Ÿ’„ Styles

- **misc**: Update Fireworks check model and fix check error, Update perplexity models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add `o3-mini` support for OpenAI & GitHub Models, closes [lobehub#5657](https://github.com/bentwnghk/lobe-chat/issues/5657) ([492cfd4](492cfd4))

#### What's fixed

* **misc**: Fix parse of deepseek r1 in siliconflow provider, closes [lobehub#5687](https://github.com/bentwnghk/lobe-chat/issues/5687) ([44e81e2](44e81e2))
* **misc**: Fix provider update issue, closes [lobehub#5676](https://github.com/bentwnghk/lobe-chat/issues/5676) ([e5d81ea](e5d81ea))
* **misc**: Optimize requests without historical messages, closes [lobehub#5174](https://github.com/bentwnghk/lobe-chat/issues/5174) ([182f8d9](182f8d9))

#### Styles

* **misc**: Update Fireworks check model and fix check error, closes [lobehub#5680](https://github.com/bentwnghk/lobe-chat/issues/5680) ([64ea539](64ea539))
* **misc**: Update perplexity models, closes [lobehub#5624](https://github.com/bentwnghk/lobe-chat/issues/5624) ([58a86fc](58a86fc))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
ramu-narasinga pushed a commit to ramu-narasinga/lobe-chat that referenced this pull request Feb 17, 2025
* ๐Ÿ“ docs(bot): Auto sync agents & plugin to readme

* ๐Ÿ’„ style: add `o3-mini` support for OpenAI & GitHub Models

* ๐Ÿ”จ chore: change system role from `user` to `developer` for reasoning model

* [feat] add `reasoning_effort` support for OpenAI Reasoning model

* ๐Ÿ”จ chore: rollback `package.json` change

* ๐Ÿ”จ chore: update locales for `enableReasoningEffort.title`

* ๐Ÿ’„ style: update i18n

* ๐Ÿ’„ style: add `reasoning_effort` intro to discover page

* ๐Ÿ“ docs: add docs for `reasoning_effort`

---------

Co-authored-by: lobehubbot <[email protected]>
ramu-narasinga pushed a commit to ramu-narasinga/lobe-chat that referenced this pull request Feb 17, 2025
## [Version&nbsp;1.50.0](lobehub/lobe-chat@v1.49.16...v1.50.0)
<sup>Released on **2025-02-03**</sup>

#### โœจ Features

- **misc**: Add `o3-mini` support for OpenAI & GitHub Models.

#### ๐Ÿ› Bug Fixes

- **misc**: Fix parse of deepseek r1 in siliconflow provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add `o3-mini` support for OpenAI & GitHub Models, closes [lobehub#5657](lobehub#5657) ([492cfd4](lobehub@492cfd4))

#### What's fixed

* **misc**: Fix parse of deepseek r1 in siliconflow provider, closes [lobehub#5687](lobehub#5687) ([44e81e2](lobehub@44e81e2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@arvinxx
Copy link
Contributor

arvinxx commented Feb 25, 2025

callback ไธ€ไธ‹๏ผšo็ณปๅˆ—ไธ“ๆœ‰ๅ‚ๆ•ฐๅฏไปฅๅ‚่€ƒ claude ็š„ไบคไบ’่ฎพ่ฎกๆฅไบ†๏ผš

#6515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
๐Ÿ’„ Design Design an style | ๆ ทๅผ้—ฎ้ข˜ released size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
6 participants