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(ai-bridge): support Github Models #885

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Conversation

fanweixiao
Copy link
Member

@fanweixiao fanweixiao commented Aug 15, 2024

Github Models

Details about Github Models: https://github.com/marketplace/models

Screenshot 2024-08-02 at 10 22 03 AM

From Llama 3.1, to GPT-4o and GPT-4o mini, to Phi 3 or Mistral Large 2, you can access each model via a built-in playground that lets you test different prompts and model parameters, for free, right in GitHub. Discover more details in the full blog post by GitHub CEO, Thomas Dohmke.

We can’t wait to see what you will build from here. Sign up now!🚀

Resources to keep you up-to-date:

How to use

name: ai-zipper
host: 0.0.0.0
port: 9000

bridge:
  ai:
    server:
      addr: localhost:9000
      provider: githubmodels

    providers:
      githubmodels:
        api_key: $GITHUB_TOKEN

$GITHUB_TOKEN can be created here: https://github.com/settings/tokens

Copy link

vercel bot commented Aug 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
yomo ⬜️ Ignored (Inspect) Visit Preview Aug 15, 2024 4:11am

Copy link

codecov bot commented Aug 15, 2024

Codecov Report

Attention: Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.34%. Comparing base (8eedd7d) to head (55c88d9).
Report is 1 commits behind head on master.

Files Patch % Lines
pkg/bridge/ai/api_server.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #885       +/-   ##
===========================================
+ Coverage        0   78.34%   +78.34%     
===========================================
  Files           0       48       +48     
  Lines           0     2835     +2835     
===========================================
+ Hits            0     2221     +2221     
- Misses          0      462      +462     
- Partials        0      152      +152     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fanweixiao fanweixiao marked this pull request as ready for review August 15, 2024 04:15
@fanweixiao fanweixiao self-assigned this Aug 15, 2024
@fanweixiao fanweixiao added the feat Features which undefined clearly label Aug 15, 2024
@fanweixiao fanweixiao merged commit e54ea71 into master Aug 16, 2024
7 checks passed
@fanweixiao fanweixiao deleted the feat/github-models branch August 16, 2024 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Features which undefined clearly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants