Skip to content

[Proposal] Error if the context_size > total_tokens #581

@chanind

Description

@chanind

Proposal

Based on https://opensourcemechanistic.slack.com/archives/C07EHMK3XC7/p1762007126888369, the user is getting an error because their context_size is much lager than the total tokens they're requesting to cache. We should provide a helpful error message in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions