Skip to content

Show error message when batch context size is too small - #577

Merged
haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
gabriel-dev725:bugfix/display-error-when-batch-context-size-is-too-small
Jul 29, 2026
Merged

Show error message when batch context size is too small#577
haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
gabriel-dev725:bugfix/display-error-when-batch-context-size-is-too-small

Conversation

@gabriel-dev725

@gabriel-dev725 gabriel-dev725 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Problem
When an embedding server rejects a segment because its token count exceeds the model's physical batch/context size (e.g. "input (767 tokens) is too large to process. increase the physical batch size (current batch size: 512)"), the error was only emitted as a ShellErrorEvent - which routes to the notification bell. Since the bell is a passive indicator, users had no idea why indexing silently stopped for affected files

@haiphucnguyen haiphucnguyen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @gabriel-dev725 for this fix!

@haiphucnguyen
haiphucnguyen merged commit f078547 into askimo-ai:main Jul 29, 2026
9 of 10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants