100daysofdevops
4e39cb65b3
fix(deps): update default model to gpt-4o for improved performance and cost efficiency ( #1332 )
...
* fix: update OpenAI API key generation URL to reflect new platform link
Updated the outdated URL 'https://beta.openai.com/account/api-keys ' to the current OpenAI API key generation page 'https://platform.openai.com/account/api-keys '.
This resolves the issue where users were directed to an incorrect URL when generating an OpenAI API key.
Signed-off-by: 100daysofdevops <47483190+100daysofdevops@users.noreply.github.com >
* fix(deps):Add transition plan for GPT-3.5 Turbo to GPT-4o
- A comprehensive comparison of GPT-3.5 Turbo and GPT-4o models, focusing on performance and cost improvements.
- Documentation updates highlighting the planned deprecation of gpt-3.5-turbo-0301 on February 13, 2025.
- Clear migration guidelines for transitioning to GPT-4o or GPT-4o mini to ensure service continuity.
Signed-off-by: 100daysofdevops <47483190+100daysofdevops@users.noreply.github.com >
---------
Signed-off-by: 100daysofdevops <47483190+100daysofdevops@users.noreply.github.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2025-03-11 20:58:21 +00:00
Alex Jones
d1b2227ff9
feat!: Removal of Trivy ( #1386 )
...
* feat: removal of trivy integration
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* feat: removal of trivy integration
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: removed trivy
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated deps
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
---------
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2025-03-04 07:33:14 +00:00
Alex Jones
d6d80ee860
feat: adds interplex as a caching provider ( #1328 )
...
* feat: adds interplex as a caching provider
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: refactored cache input to lower
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: refactored cache input to lower
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
---------
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-12-02 12:58:08 +00:00
100daysofdevops
ec5e42b8f4
fix: update OpenAI API key generation URL to reflect new platform link ( #1331 )
...
Updated the outdated URL 'https://beta.openai.com/account/api-keys ' to the current OpenAI API key generation page 'https://platform.openai.com/account/api-keys '.
This resolves the issue where users were directed to an incorrect URL when generating an OpenAI API key.
Signed-off-by: 100daysofdevops <47483190+100daysofdevops@users.noreply.github.com >
2024-11-25 07:32:11 +00:00
Samir Tahir
a50375c960
fix: add maxTokens to serve mode ( #1280 )
...
Signed-off-by: samir-tahir <samirtahir91@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-11-12 20:16:29 +00:00
Alex Jones
da266b3c82
feat: dump ( #1322 )
...
* feat: reverting the cncf runners
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* feat: creating a dump file for debugging
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: ran the linter
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: improved the function readme
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* feat: added k8sgpt version info
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* feat: added k8sgpt version info
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: added additional command
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
---------
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2024-11-12 12:04:01 +00:00
Matthis
3eec9bbb05
feat: add stats option to analyze command for performance insights ( #1237 )
...
* feat: add stats option to analyze command for performance insights
Introduced a new feature to the analyze command that enables users to print detailed performance statistics of each analyzer. This enhancement aids in debugging and understanding the time taken by various components during analysis, providing valuable insights for performance optimization.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: enhance analysis command with statistics option
Refactored the analysis command to support an enhanced statistics option, enabling users to opt-in for detailed performance metrics of the analysis process. This change introduces a more flexible approach to handling statistics, allowing for a clearer separation between the analysis output and performance metrics, thereby improving the usability and insights provided to the user.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-10-30 13:58:18 +00:00
Yanwei Li
da0764d951
fix: add providerId to serve mode ( #1260 )
...
Signed-off-by: yanweili <yanweili@ibm.com >
Co-authored-by: yanweili <yanweili@ibm.com >
2024-09-27 07:32:58 +01:00
Guangya Liu
5ff6dc9be5
fix: rename watsonxai to ibmwatsonxai ( #1234 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-09-24 21:58:01 +01:00
Guangya Liu
644581f495
fix: disable adding multiple openai provider ( #1191 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Co-authored-by: Matthis <matthish29@gmail.com >
2024-08-20 15:52:44 +02:00
Guangya Liu
d702209941
fix: enabled auth add support watsonx backend ( #1190 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Matthis <matthish29@gmail.com >
2024-08-20 09:35:45 +02:00
Alex Jones
02fa109429
feat: refactoring to the new schema ( #1219 )
...
* feat: refactoring to the new schema
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated readme with grpc commands
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated deps
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
---------
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
Co-authored-by: Matthis <matthish29@gmail.com >
2024-08-15 14:42:55 +01:00
Matthis
db26d24ac6
feat: add custom-analyzer cmd ( #1207 )
...
* feat: add custom analyzer management capability
Introduced the ability to manage custom analyzers in the K8sGPT application, enabling users to add, deploy, and configure custom analyzers from various sources. This enhancement supports extending the application's analytical capabilities by integrating external analysis tools, thus offering more flexibility and customization options to meet specific user needs.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: enhance custom analyzer management with removal functionality
Introduced the ability to remove custom analyzers, streamlining the management process and ensuring flexibility in custom analyzer configuration. This enhancement addresses the need for dynamic customization and maintenance of analyzer setups, facilitating easier updates and modifications to the analysis environment.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: add list command to customAnalyzer for displaying configured analyzers
Implemented a new list command within the customAnalyzer module to enable users to view all configured custom analyzers. This enhancement aims to improve usability by providing a straightforward method for users to inspect their custom analyzer configurations directly from the command line.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: add support for listing, adding, and removing custom analyzers
This update introduces commands to manage custom analyzers in the k8sgpt tool, enhancing flexibility and control over analyzer configurations without the need for direct installation or docker dependency.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: support private docker image authentication for custom analyzers
Added authentication support for pulling private Docker images when adding custom analyzers, enhancing security and access control.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: remove Docker custom analyzer installation
Removed the installation and deployment functionality for custom analyzers, streamlining the process of adding analyzers. This change focuses on simplifying the configuration by eliminating the need for specifying installation types, package URLs, and authentication details for Docker images. The goal is to enhance user experience by making the addition of custom analyzers more straightforward and less error-prone.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* fix: remove unused packageUrl
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: update add command description to reflect broader functionality
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: Add name validation for custom analyzer creation
To ensure the integrity and consistency of analyzer names, we introduced a validation step that checks the format of the name against a predefined regex pattern. This change aims to prevent the creation of analyzers with invalid names, enhancing the system's reliability and usability.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: refactor customAnalyzer package for consistent naming
Refactored the customAnalyzer package and its references to use consistent snake_case naming for improved code readability and alignment with Go naming conventions.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2024-08-10 22:05:11 +01:00
Kay Yan
b7e5394caa
fix: segmentation violation during serve ( #1215 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2024-08-07 09:47:09 +01:00
Guangya Liu
391a3cd5ad
fix: auth update throw out exception ( #1193 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Co-authored-by: Matthis <matthish29@gmail.com >
2024-07-18 16:49:51 +01:00
JuHyung Son
eb3b81f176
feat: add label selector ( #1201 )
...
* feat: fix the custom-analysis printing (#1195 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label selector
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label selector on analyzers
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore(deps): pin goreleaser/goreleaser-action action to 286f3b1 (#1171 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.4.0-20240715142657-3785f0a44aae.2 (#1196 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore(deps): update actions/upload-artifact digest to 0b2256b (#1175 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore: update proto pkg version
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore: fix typo
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add label string to LabelSelector util func
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add test using 2 label selector
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: JuHyung Son <sonju0427@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 14:31:41 +01:00
Aris Boutselis
02e754ed59
feat: add custom http headers to openai related api backends ( #1174 )
...
* feat: add custom http headers to openai related api backends
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* ci: add custom headers test
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* add error handling
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* chore(deps): update docker/setup-buildx-action digest to 4fd8129 (#1173 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 to v2.20.0-20240406062209-1cc152efbf5c.1 (#1147 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* chore(deps): update anchore/sbom-action action to v0.16.0 (#1146 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* Update README.md
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
---------
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-07-10 09:59:08 +01:00
JuHyung Son
4867d39c66
feat: support openai organization Id ( #1133 )
...
* feat: add organization flag
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add orgId on openai backend
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
---------
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-06-14 08:39:56 +01:00
Rui Chen
e261c09889
fix: remove shorthand flag for topp option in add command ( #1115 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2024-05-20 09:06:35 +01:00
Anders Swanson
047afd46d6
feat: oci genai ( #1102 )
...
Signed-off-by: Anders Swanson <anders.swanson@oracle.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-05-16 15:44:41 +01:00
Vaibhav Malik
eda52312ae
feat: implement Top-K sampling for improved user control ( #1110 )
...
This commit adds Top-K sampling, a feature that allows users to control
the randomness of the generated text by specifying the number of most
probable next words considered by the model. This enhances user control
and potentially improves the quality of the generated outputs.
Fixes: https://github.com/k8sgpt-ai/k8sgpt/issues/1105
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-05-16 15:41:07 +01:00
Guido Muscioni
c162cc22ee
fix: set topP from config ( #1053 )
...
* fix: set topP from config
Signed-off-by: “Guido <muscionig@gmail.com >
* style: correct format of openai ai provider
Signed-off-by: “Guido <muscionig@gmail.com >
* feat: set topP from the environment
Signed-off-by: “Guido <muscionig@gmail.com >
---------
Signed-off-by: “Guido <muscionig@gmail.com >
2024-04-19 16:38:52 +01:00
izturn
1ae4e75196
refactor: replace util.SliceContainsString with slices.Contains & make fmt ( #1041 )
...
* use std package's func instead
Signed-off-by: gang.liu <gang.liu@daocloud.io >
* refactor: replace util.SliceContainsString with slices.Contains & make fmt
Signed-off-by: gang.liu <gang.liu@daocloud.io >
---------
Signed-off-by: gang.liu <gang.liu@daocloud.io >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-04-19 13:15:50 +01:00
Aris Boutselis
e6085d4191
feat: add minio support ( #1048 )
...
* feat: add minio support
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* feat: add TLS skip for custom https minio endpoint
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* feat: update cache with the new proto schema
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
---------
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-04-19 11:58:41 +01:00
Kay Yan
9e0263778f
fix: remove show password in auth list ( #1061 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-04-16 07:20:20 +01:00
Alex Jones
8f8f5c6df7
chore: allows an environmental override of the default AWS region and… ( #1025 )
...
* chore: allows an environmental override of the default AWS region and using it for bedrock
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: missing provider region
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-03-22 10:19:11 +00:00
Mario
55ac0b2129
feat: add Google Vertex AI as provider to utilize gemini via GCP ( #984 )
...
* feat: add Google Vertex AI as provider to utilize gemini via GCP
Signed-off-by: Mario Fahlandt <mfahlandt@pixel-haufen.de >
* fix: adjust providerId description
Signed-off-by: Mario Fahlandt <mfahlandt@pixel-haufen.de >
---------
Signed-off-by: Mario Fahlandt <mfahlandt@pixel-haufen.de >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-03-11 07:33:29 +00:00
Tanuj Dwivedi
307710eddc
feat: add proxysettings for azureopenai and openai ( #987 )
...
Signed-off-by: tanujd11 <dwiveditanuj41@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-02-28 16:10:42 +00:00
Vaibhav Malik
aab8d77feb
fix: analyze command default backend bug ( #966 )
...
Now, the default value of the `backend` flag for the analyze command
will be an empty string. And the `NewAnalysis` function has been
modified to use the default backend set by the user if the backend flag
is not provided and the `defaultprovider` is set in the config file.
Otherwise, backend will be set to "openai".
Fixes: https://github.com/k8sgpt-ai/k8sgpt/issues/902
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: JuHyung Son <sonju0427@gmail.com >
2024-02-28 16:09:30 +00:00
Alex Jones
a81377f72d
feat: aws integration ( #967 )
...
* chore: updated deps
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: adding aws types
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: first cut
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: first pass at aws integration with EKS
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: fixed linting
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated wording based on PR
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: improved the kubeconfig
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-02-26 10:16:32 +00:00
Vaibhav Malik
f55f8370eb
fix: shorthand for the http flag in serve command ( #969 )
...
Removed the shorthand for the `http` flag in the serve command because
it was contradicting with the shorthand of the `help` command which is
automatically added on execution if the `help` flag is not already
defined.
Fixes: https://github.com/k8sgpt-ai/k8sgpt/issues/968
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2024-02-19 07:48:16 +00:00
Sahil Badla
f2138c7101
feat: enable Rest api using grpc-gateway ( #834 )
...
* grpc-gateway changes
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
* feat: grpc-gateway impl
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
* feat: enable REST/http api support
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
* feat: enable rest/http support
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
* feat: enable rest/http support
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
* feat: enable rest/http support
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
* chore: resolved mod
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: fix grpc-gateway codegen path
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
* feat: merge from master
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
* feat: flag to enable rest api
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
---------
Signed-off-by: Sahil Badla <sahil_badla@intuit.com >
Signed-off-by: Sahil Badla <146279034+sbadla1@users.noreply.github.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Sahil Badla <sahil_badla@intuit.com >
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-02-17 15:38:15 +00:00
Alex Jones
c8c9dbfadc
feat: enables remote custom analyzers ( #906 )
...
* feat: enables remote custom analyzers
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: fixed test that was broken
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: hiding custom analysis behind a flag
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: resolved govet issue
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated deps
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated deps
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-02-15 07:28:00 +00:00
Amit Amrutiya
3415031006
fix: lint errors ( #923 )
...
Signed-off-by: amitamrutiya2210 <amitamrutiya2210@gmail.com >
2024-02-07 11:30:45 +00:00
Alex Jones
2effbb345a
chore: linting improvements and catching false positives ( #882 )
...
* chore: linting improvements and catching false positives
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: linting improvements and catching false positives
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: linting improvements and catching false positives
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: increase linter time out
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-01-23 07:46:01 +00:00
Alex Jones
9da75e02bc
feat: interactive mode ( #854 )
...
* chore: wip interactive mode
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: tidied up a bit
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated go mod
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: const prompt
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated based on comments feedback
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated enum
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated enum
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-01-14 20:22:00 +00:00
Anais Urlichs
d8d0beef65
make cli more intuitive when adding openai default backend ( #838 )
...
Signed-off-by: AnaisUrlichs <urlichsanais@gmail.com >
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com >
2024-01-05 22:43:08 +01:00
Bartlomiej Plotka
e7d41496dd
feat: added Google GenAI client; simplified IAI/clients API surface. ( #829 )
...
* refactor: Simplified IAI; made caching and processing consisent.
Signed-off-by: bwplotka <bwplotka@gmail.com >
* feat: Added Google AI API e.g. for Gemini models.
Signed-off-by: bwplotka <bwplotka@gmail.com >
---------
Signed-off-by: bwplotka <bwplotka@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com >
2024-01-05 06:53:36 +01:00
Alex Jones
a7e9b486ba
chore: lint fixes ( #833 )
...
* chore: added basic server startup test
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: refactored wg.add move
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-01-04 17:03:32 +00:00
Bartlomiej Plotka
035348d8a0
fix: no explain case, improved readability. ( #825 )
...
Signed-off-by: bwplotka <bwplotka@gmail.com >
2024-01-03 17:59:28 +01:00
Matthis
12146bf356
feat: rework cache package - add gcs cache - add cache purge command ( #750 )
...
* feat: rework cache pkg
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: Completion of cache pkg rework. Added cache purge command.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* doc: add purgin command note
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* fix: disable cache if noCache is set
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: improve GetCacheConfiguration lisibility & transform add method to addOrUpdate
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: transform server mode to work with new cache configuration
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* fix: use 'switch' instead 'if' to evaluate Cache from grpc
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: add mutually exclusive flags for command options
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* doc: update readme.md
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: return err on bucket creation failed
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: update dependencies
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
Signed-off-by: Matthis <matthish29@gmail.com >
2023-11-18 22:08:38 +01:00
Alex Jones
d365886753
feat: log analyzer ( #744 )
...
* feat: wip log analyzer
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: turns off log by default
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: turns off log by default
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com >
2023-11-12 16:00:43 -05:00
Pavel Sturc
9dadd186c8
feat: auth remove: add -b flag ( #711 )
...
* feat: auth remove: add -b flag
Signed-off-by: Pavel Sturc <psturc@redhat.com >
* fix: address comment
Signed-off-by: Pavel Sturc <psturc@redhat.com >
---------
Signed-off-by: Pavel Sturc <psturc@redhat.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-11-10 14:15:24 -06:00
Ajay Kemparaj
120027e3cb
deps: bump docker fixes CVE GHSA-jq35-85cj-fj4p ( #733 )
...
Signed-off-by: ajayk <ajaykemparaj@gmail.com >
2023-11-07 15:47:39 -06:00
DKuroczko
ccef7f6170
feat: amazonsagemaker AI provider ( #731 )
...
* feat(amazonsagemaker): Add AmazonSageMaker AI provider
Co-authored-by: NAME 18630245+zaremb@users.noreply.github.com
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* feat(amazonsagemaker): Add AmazonSageMaker AI provider
Co-authored-by: Mateusz Zaremba <18630245+zaremb@users.noreply.github.com >
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* feat(auth): add top p and max tokens to auth and use them in sagemaker backend
Signed-off-by: Mateusz Zaremba <18630245+zaremb@users.noreply.github.com >
* feat: Updates SageMaker docs, validate topP, ident
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* feat: list of passwordlessProviders
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* feat: returns err
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* fix: remove log.Fatal(err)
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
---------
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
Signed-off-by: Mateusz Zaremba <18630245+zaremb@users.noreply.github.com >
Co-authored-by: Mateusz Zaremba <18630245+zaremb@users.noreply.github.com >
2023-11-05 20:03:40 +00:00
StevenSu
f1a7801e9e
feat: add amazonbedrock ( #718 )
...
* add amazonbedrock AI provider
Signed-off-by: Su Wei <suwei007@gmail.com >
* add amazonbedrock, change model list to const var
Signed-off-by: Su Wei <suwei007@gmail.com >
* update iai config and auth cmd, add providerRegion
Signed-off-by: Wei Su <wsuam@amazon.com >
* fix filename wrong
Signed-off-by: Wei Su <wsuam@amazon.com >
* chore: added some doc info
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Su Wei <suwei007@gmail.com >
Signed-off-by: Wei Su <wsuam@amazon.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Wei Su <wsuam@amazon.com >
Co-authored-by: Aris Boutselis <aris.boutselis@senseon.io >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-10-28 11:49:09 +01:00
Aris Boutselis
23ac52d5ff
feat: add Azure remote cache ( #690 )
...
* feat: add Azure remote cache
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* feat: add serve mode support and update buf schema
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix: map structure name
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* chore: add a new cache type to make code readable
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* docs: update docs to reflect new remote cache type
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module github.com/prometheus/client_golang to v1.17.0 (#687 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.3.0-20231002095256-194bc640518b.1 (#692 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update module helm.sh/helm/v3 to v3.13.0 (#688 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix: security warning around printing provider details in https://github.com/k8sgpt-ai/k8sgpt/security/code-scanning/1 (#695 )
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/protocolbuffers/go to v1.31.0-20231002095256-194bc640518b.1 (#693 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update module github.com/sashabaranov/go-openai to v1.15.4 (#689 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module github.com/aws/aws-sdk-go to v1.45.20 (#685 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update amannn/action-semantic-pull-request action to v5.3.0 (#683 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module github.com/aws/aws-sdk-go to v1.45.21 (#696 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update module github.com/aws/aws-sdk-go to v1.45.22 (#697 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module github.com/aws/aws-sdk-go to v1.45.23 (#699 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module github.com/aws/aws-sdk-go to v1.45.24 (#701 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
---------
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-10-22 16:08:39 +01:00
Aris Boutselis
539ca3b78f
feat: adding temperature to server mode ( #705 )
...
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2023-10-12 13:14:43 +01:00
Alex Jones
2a34ff24d1
chore: fixing default model issue ( #702 )
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-10-11 19:52:47 +01:00
Alex Jones
85ce557681
fix: security warning around printing provider details in https://github.com/k8sgpt-ai/k8sgpt/security/code-scanning/1 ( #695 )
2023-10-03 11:01:33 +01:00