on quota exceeded suggest user switch to different LLM provider (#221)

* on quota exceeded suggest user switch to different LLM provider

* Improve insufficient quota handling, add more telemetry actions

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
This commit is contained in:
keith siilats 2023-10-04 17:18:50 -04:00 committed by GitHub
parent a45646740e
commit 4c8b8d4e4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 95 additions and 21 deletions

View file

@ -7,7 +7,8 @@ public enum TelemetryAction {
COMPLETION("CodeGPT-Completion"),
COMPLETION_ERROR("CodeGPT-Completion-Error"),
IDE_ACTION("CodeGPT-Action"),
IDE_ACTION_ERROR("CodeGPT-Action-Error");
IDE_ACTION_ERROR("CodeGPT-Action-Error"),
SETTINGS_CHANGED("CodeGPT-Settings-Changed");
private final String code;