Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #828
📑 Description
added huggingface provider.
for HF package, i use https://github.com/hupe1980/go-huggingface. i think this is more fit for k8sgpt code than this. Let me know if you think differently
✅ Checks
ℹ Additional Information
Also, HF api request requires
maxtokens
less than or equal to 500. but k8sgpts default maxtokens is 2048 so users will get below output if they don't update or set
maxtokens`.How do you think setting huggingface
s default
maxtokensto 500 if it is set k8sgpt
s default 2048?