-
-
Notifications
You must be signed in to change notification settings - Fork 11
Add GitHub Models as default inference provider #481
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
base: main
Are you sure you want to change the base?
Add GitHub Models as default inference provider #481
Conversation
GitHub now offers a free LLM inference API that's native in GitHub Actions, so long as you set the models: read permission. This commit updates the existing OpenAI utility functions to use GitHub Models as the default provider, while still allowing the use of OpenAI if an API key is provided.
All Contributors have signed the CLA. ✅ |
I have read the CLA Document and I sign the CLA |
👋 Hello @sgoedecke, thank you for submitting an Please review the checklist below to ensure a smooth integration:
For more details, please see our Contributing Guide. If you have any questions, feel free to leave a comment. Thank you for your contribution to Ultralytics! 🚀🤖 |
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
@sgoedecke super interesting, thanks for the PR! Will review this week. |
GitHub now offers a free LLM inference API that's native in GitHub Actions, so long as you set the models: read permission. This PR updates the existing OpenAI utility functions to use GitHub Models as the default provider, while still allowing the use of OpenAI if an API key is provided.
If this isn't something you want to do, no worries - I just figured it'd be nice to let people use the cool AI-driven parts of the action without having to go and set up an OpenAI repository secret.
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
This update adds support for using GitHub Models as an alternative to OpenAI for LLM-powered features in Ultralytics Actions, making it easier and more flexible to run AI tasks. 🤖🔄
📊 Key Changes
🎯 Purpose & Impact
This makes Ultralytics Actions more accessible and user-friendly for a wider range of projects! 🚀