Skip to content

[bug] Ask can throw "prompt is too long: x tokens > y maximum" #911

Description

@brendan-kellam

Describe the bug

Ask can sometimes throw a "prompt is too long" error when making a API call with too many tokens, likely exceeding the context window of the provider LLM.

To reproduce

todo

Sourcebot deployment information

Sourcebot version (e.g. v3.0.1): latest

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingv4.16.0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions