mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 01:40:15 +01:00
🚨 feat: Implement INPUT_LENGTH Error Type (#3866)
* feat: CONTEXT_LENGTH error type * chore: rename error type * chore: import order
This commit is contained in:
parent
6936d0059f
commit
7536e649d4
4 changed files with 26 additions and 4 deletions
|
|
@ -839,6 +839,11 @@ export enum ErrorTypes {
|
|||
* Moderation error
|
||||
*/
|
||||
MODERATION = 'moderation',
|
||||
|
||||
/**
|
||||
* Prompt exceeds max length
|
||||
*/
|
||||
INPUT_LENGTH = 'INPUT_LENGTH',
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue