Skip to content

add limit arguments to functions that need it #2

@vintrocode

Description

@vintrocode

since the sdk routes through an api querying a database, there should be limit arguments in the sdk function calls. i noticed building a demo that the get_messages_for_session will return all messages. as they add up this will not only be an expensive query but will also exceed any useful threshold that could be handles in the context window of a language model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions