🚨 feat: Implement INPUT_LENGTH Error Type (#3866)

* feat: CONTEXT_LENGTH error type

* chore: rename error type

* chore: import order
This commit is contained in:
Danny Avila 2024-08-30 15:01:29 -04:00 committed by GitHub
parent 6936d0059f
commit 7536e649d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 26 additions and 4 deletions

View file

@ -25,6 +25,8 @@ export default {
com_error_invalid_user_key: 'Invalid key provided. Please provide a valid key and try again.',
com_error_expired_user_key:
'Provided key for {0} expired at {1}. Please provide a new key and try again.',
com_error_input_length:
'The latest message token count is too long, exceeding the token limit ({0} respectively). Please shorten your message, adjust the max context size from the conversation parameters, or fork the conversation to continue.',
com_files_no_results: 'No results.',
com_files_filter: 'Filter files...',
com_files_number_selected: '{0} of {1} file(s) selected',