You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current 2k character limit on the "Role" field in the UI is not clearly displayed, and the field truncates input without warning. This limit is not imposed at the API layer. The actual technical limits are as follows.
Agent creation time - the DB has a limit of ~ 4M characters,
Agent runtime - The context window limit is 128k (role + remainder of system prompt + user message)
This ticket proposes to either revisit the 2k character limit and improve the UI to display the character limit and remaining characters.
To do:
Reconsider the character limit 2k character limit to a more reasonable value or align it to technical max (see above)
Consider displaying the character limit and remaining characters in the "Role" field
Provide a clear error message or warning when the limit is reached, TBD when to display (while typing in role, when saving, at runtime)
Description:
The current 2k character limit on the "Role" field in the UI is not clearly displayed, and the field truncates input without warning. This limit is not imposed at the API layer. The actual technical limits are as follows.
This ticket proposes to either revisit the 2k character limit and improve the UI to display the character limit and remaining characters.
To do:
Related Discussion:
The text was updated successfully, but these errors were encountered: