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

oci backend support with new Chat Model: Support for oci backend with new chatmodel since generatetext is deprecated #1334

Open
3 of 4 tasks
karthicgit opened this issue Nov 28, 2024 · 2 comments · May be fixed by #1337
Open
3 of 4 tasks

Comments

@karthicgit
Copy link

Checklist

  • 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.46

Kubernetes Version

v1.30.0

Host OS and its Version

No response

Steps to reproduce

  1. Add oci backend using k8sgpt auth add -b oci -k
  2. k8sgpt auth default -p oci
  3. k8sgpt analyze -e
    It will throw error like Error: failed while calling AI provider oci: Error returned by GenerativeAiInference Service. Http Status Code: 404. Error Code: 404. Opc request id: xxxxxxE. Message: Authorization failed or requested resource not found.
    Operation Name: GenerateText.

Expected behaviour

Expect the code to call Chat model instead of GenerateText . Also the default model has to be set to a supported one instead of gpt-turbo . There is already one similar issue raised to solve the gpt-turbo set as default model. Also the document has to be updated for oci backend.

Actual behaviour

No response

Additional Information

No response

@github-project-automation github-project-automation bot moved this to Proposed in Backlog Nov 28, 2024
@karthicgit karthicgit changed the title [oci backend support with new Chat Model]: <Support for oci backend with new chatmodel since generatetext is deprecated> oci backend support with new Chat Model: Support for oci backend with new chatmodel since generatetext is deprecated Nov 28, 2024
@anders-swanson
Copy link
Contributor

Hi @karthicgit, thanks for reporting this. I'll work on this as I have time and submit a fix.

@anders-swanson anders-swanson linked a pull request Dec 2, 2024 that will close this issue
4 tasks
@karthicgit
Copy link
Author

@AlexsJones May I know someone is reviewing this?

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 a pull request may close this issue.

2 participants