You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for similar issues and couldn't find anything matching
I've included steps to reproduce the behavior
Affected Components
K8sGPT (CLI)
K8sGPT Operator
K8sGPT Version
v0.3.50
Kubernetes Version
v1.31
Host OS and its Version
mscOS
Steps to reproduce
Install K8sGPT as an operator and create a K8sGPT CR
apiVersion: core.k8sgpt.ai/v1alpha1
kind: K8sGPT
metadata:
name: k8sgpt-bedrock
namespace: k8sgpt-operator-system
spec:
ai:
backend: amazonbedrock
enabled: true
language: english
region: us-east-1
model: us.anthropic.claude-3-5-sonnet-20240620-v1:0
filters:
Pod
Deployment
version: v0.3.50
check the log of the K8sGPT CR pod
Expected behaviour
There should be no error and a result object should be created for the pod issue
Actual behaviour
It report an error "request failed. failed while calling AI provider amazonbedrock: ValidationException: "claude-3-5-sonnet-20240620" is not supported on this API. Please use the Messages API instead.","duration_ms":173,"method":"/schema.v1.ServerAnalyzerService/Analyze","request":"backend:"amazonbedrock" explain:true anonymize:true language:"english" max_concurrency:10 output:"json" filters:"Pod" filters:"Deployment"","remote_addr":"172.21.46.115:34858","status_code":2}"
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Checklist
Affected Components
K8sGPT Version
v0.3.50
Kubernetes Version
v1.31
Host OS and its Version
mscOS
Steps to reproduce
apiVersion: core.k8sgpt.ai/v1alpha1
kind: K8sGPT
metadata:
name: k8sgpt-bedrock
namespace: k8sgpt-operator-system
spec:
ai:
backend: amazonbedrock
enabled: true
language: english
region: us-east-1
model: us.anthropic.claude-3-5-sonnet-20240620-v1:0
filters:
version: v0.3.50
Expected behaviour
There should be no error and a result object should be created for the pod issue
Actual behaviour
It report an error "request failed. failed while calling AI provider amazonbedrock: ValidationException: "claude-3-5-sonnet-20240620" is not supported on this API. Please use the Messages API instead.","duration_ms":173,"method":"/schema.v1.ServerAnalyzerService/Analyze","request":"backend:"amazonbedrock" explain:true anonymize:true language:"english" max_concurrency:10 output:"json" filters:"Pod" filters:"Deployment"","remote_addr":"172.21.46.115:34858","status_code":2}"
Additional Information
No response
The text was updated successfully, but these errors were encountered: