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

Add hard limits and pagination to everything #592

Open
tomlynchRNA opened this issue Oct 1, 2024 · 0 comments
Open

Add hard limits and pagination to everything #592

tomlynchRNA opened this issue Oct 1, 2024 · 0 comments

Comments

@tomlynchRNA
Copy link
Contributor

tomlynchRNA commented Oct 1, 2024

  • dont let somebody add an unlimited number of agents, tasks, etc
  • add pagination to agent, task, tool, datasources, variables, etc
    • dont use a mongo .skip and .limit because this will cause skipped values if elements are added/removed while browsing, use $gt and $lt sorting based on the first or last element of a pages _id and use a .limit
  • only pull most recent messages in a chat until scrolling up, same as session sidebar for scrolling down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant