Skip to content

Commit

Permalink
feat: Add chat_out_of_credit error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed Nov 30, 2023
1 parent 3e4a8cf commit 29a7ae4
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 33 deletions.
63 changes: 34 additions & 29 deletions go/github.com/jupyter-naas/naas-models/go/chat/chat.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions protos/chat.proto
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ enum ChatError {
CHAT_NOT_AUTHORIZED = 4;
CHAT_COMPLETION_ADAPTOR_DOES_NOT_EXISTS = 5;
CHAT_AIMODEL_NOT_FOUND = 6;
CHAT_OUT_OF_CREDIT = 7;
}

message ChatResponseError {
Expand Down
Loading

0 comments on commit 29a7ae4

Please sign in to comment.