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

Application throws an error when the Generative AI is switched #49

Open
olasunkanmi-SE opened this issue May 9, 2024 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@olasunkanmi-SE
Copy link
Owner

olasunkanmi-SE commented May 9, 2024

Behavior

The application throws an error when the generative AI model is switched. For example, if I am presently using Gemini to power my Webview and I decide to switch to Groq instead. The application throws an error because by design, these LLMS are operating on 2 different web views with different WebViewId

NB: This only happens for ChatManager. For Actions, this seems to work perfectly

Expected Behavior

Should handle this error gracefully and not throw an error to the user.

Possible solutions

  • The application should be aware of the change in web view Id and retry by resending the prompt to the LLM when it detects this error, instead of throwing an error
  • Make all LLMS use the same webview Id. This way there wont be need to switch between web view Ids
@olasunkanmi-SE olasunkanmi-SE added bug Something isn't working good first issue Good for newcomers labels May 9, 2024
@olasunkanmi-SE olasunkanmi-SE changed the title Application throws an error when the API key is switched Application throws an error when the Generative AI is switched May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant