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: added the ability to set a default AI provider for serve #1216

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yankay
Copy link
Contributor

@yankay yankay commented Aug 7, 2024

Closes #

πŸ“‘ Description

The k8sgpt serve default backend is hardcoded as openai.
The PR is to add the ability to set a default AI provider for serve by configure the same as the command analysis

βœ… Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

β„Ή Additional Information

@yankay yankay requested review from a team as code owners August 7, 2024 06:39
@yankay yankay force-pushed the add-default-backend-for-serve branch 2 times, most recently from 4ce9379 to 9787881 Compare August 7, 2024 09:39
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 35.82%. Comparing base (f9d734e) to head (9787881).
Report is 57 commits behind head on main.

Files Patch % Lines
cmd/serve/serve.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1216       /-   ##
==========================================
- Coverage   37.27%   35.82%   -1.46%     
==========================================
  Files          83       87        4     
  Lines        5615     6052      437     
==========================================
  Hits         2093     2168       75     
- Misses       3442     3796      354     
- Partials       80       88        8     

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@yankay yankay force-pushed the add-default-backend-for-serve branch from 9787881 to 80585b5 Compare August 14, 2024 10:29
@yankay yankay force-pushed the add-default-backend-for-serve branch from 80585b5 to 6fbe287 Compare September 13, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Proposed
Development

Successfully merging this pull request may close these issues.

1 participant