Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character Limit Display and Behavior for "Role" Field #86

Open
geneknit opened this issue Nov 20, 2024 · 0 comments
Open

Character Limit Display and Behavior for "Role" Field #86

geneknit opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@geneknit
Copy link

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.

  • 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)

Related Discussion:

@geneknit geneknit added enhancement New feature or request question Further information is requested and removed question Further information is requested labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants