-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
๐ style: Update GitHub models #8002
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
Conversation
@chai-mi is attempting to deploy a commit to the LobeHub Community Team on Vercel. A member of the Team first needs to authorize it. |
๐ @chai-mi Thank you for raising your pull request and contributing to our Community |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Updates GitHub models integration in LobeChat to support new models and fix compatibility issues.
- Changed base URL from
models.inference.ai.azure.com
tomodels.github.ai/inference
to support newer models likegrok-3
andgrok-3-mini
- Added special payload handling in
/src/libs/model-runtime/github/index.ts
to remove unsupported parameters forgrok-3-mini
model - Updated model IDs in
/src/config/aiModels/github.ts
to include provider namespaces (e.g.,openai/
,microsoft/
) - Added
grok-3-mini
to reasoning keywords list for better model capability detection - Fixed issue ๐ fix: fix
grok-3-mini
series callingย #7371 by removingpresence_penalty
andfrequency_penalty
parameters forgrok-3-mini
series
๐ก (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!
3 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings | Greptile
if (model === 'xai/grok-3-mini') { | ||
return { | ||
...rest, | ||
model, | ||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: Special case for grok-3-mini should also handle grok-3 model since they're in the same series
@@ -43,7 +50,7 @@ export const LobeGithubAI = LobeOpenAICompatibleFactory({ | |||
|
|||
const visionKeywords = ['vision']; | |||
|
|||
const reasoningKeywords = ['deepseek-r1', 'o1', 'o3']; | |||
const reasoningKeywords = ['deepseek-r1', 'o1', 'o3', 'grok-3-mini']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Consider adding 'grok-3' to reasoningKeywords since it's part of the same model series as grok-3-mini
ci ๆไบ๏ผ็ไธ test |
ci has died, check out the test |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8002 +/- ##
==========================================
- Coverage 95.67% 88.44% -7.23%
==========================================
Files 14 822 +808
Lines 2519 60362 +57843
Branches 244 3807 +3563
==========================================
+ Hits 2410 53390 +50980
- Misses 109 6972 +6863
Flags with carried forward coverage won't be shown. Click here to find out more. โ View full report in Codecov by Sentry. ๐ New features to boost your workflow:
|
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
|
โค๏ธ Great PR @chai-mi โค๏ธ 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. |
### [Version 1.88.16](v1.88.15...v1.88.16) <sup>Released on **2025-05-29**</sup> #### ๐ Bug Fixes - **misc**: Cmd + click chat tab not open new tab. #### ๐ Styles - **misc**: Update GitHub models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Cmd + click chat tab not open new tab, closes [#8001](#8001) ([d6d2129](d6d2129)) #### Styles * **misc**: Update GitHub models, closes [#8002](#8002) ([7b8f533](7b8f533)) </details> <div align="right"> [](#readme-top) </div>
๐ This PR is included in version 1.88.16 ๐ The release is available on: Your semantic-release bot ๐ฆ๐ |
GITHUB_MODEL_LIST=+xai/grok-3=Grok 3<8000>,+xai/grok-3-mini=Grok 3 mini<8000> ๅนถๆฒกๆๆพ็คบgrok็ๅพๆ |
GITHUB_MODEL_LIST=+xai/grok-3=Grok 3<8000>,+xai/grok-3-mini=Grok 3 mini<8000> does not display grok icon |
1 similar comment
GITHUB_MODEL_LIST=+xai/grok-3=Grok 3<8000>,+xai/grok-3-mini=Grok 3 mini<8000> does not display grok icon |
### [Version 1.87.1](v1.87.0...v1.87.1) <sup>Released on **2025-05-30**</sup> #### ๐ Bug Fixes - **misc**: Close historySummary correctly, cmd + click chat tab not open new tab, Enable thinking output only for supported Gemini thinking models. #### ๐ Styles - **misc**: Add fc ability to deepseek-reasoner model, increase the history limit, Update GitHub models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Close historySummary correctly, closes [lobehub#7010](https://github.com/jaworldwideorg/OneJA-Bot/issues/7010) ([90a6f68](90a6f68)) * **misc**: Cmd + click chat tab not open new tab, closes [lobehub#8001](https://github.com/jaworldwideorg/OneJA-Bot/issues/8001) ([d6d2129](d6d2129)) * **misc**: Enable thinking output only for supported Gemini thinking models, closes [lobehub#7987](https://github.com/jaworldwideorg/OneJA-Bot/issues/7987) ([f503c53](f503c53)) #### Styles * **misc**: Add fc ability to deepseek-reasoner model, closes [lobehub#8006](https://github.com/jaworldwideorg/OneJA-Bot/issues/8006) ([1511c75](1511c75)) * **misc**: Increase the history limit, closes [lobehub#8007](https://github.com/jaworldwideorg/OneJA-Bot/issues/8007) ([5ec7c8d](5ec7c8d)) * **misc**: Update GitHub models, closes [lobehub#8002](https://github.com/jaworldwideorg/OneJA-Bot/issues/8002) ([7b8f533](7b8f533)) </details> <div align="right"> [](#readme-top) </div>
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
grok-3
ๅgrok-3-mini
grok-3
ๅgrok-3-mini
ๅจๆง endpoint ไธ่ขซๆไพ๏ผgrok-3-mini
็presence_penalty
frequency_penalty
ๅญๆฎต๏ผ่ง ๐ fix: fixgrok-3-mini
series callingย #7371๐ ่กฅๅ ไฟกๆฏ | Additional Information