Skip to content

Context length limitation is only partially implemented and not configurable per user/team #1362

Closed

Description

@AndriiZhydkykh

Description

The system provides only partial support for artificial limitation of context length for cost control.

Context restrictions are implemented indirectly via token-based budget rules, but there is no explicit or configurable mechanism to control context length per user or per team.

This results in limited flexibility and incomplete compliance with the requirement.

Requirement
Core features must be enable-/disable-able per user/group:

Internet search (web browsing)
Code execution (code interpreter)
Artificial limitation of context length for cost control

Actual Result
Context length limitation is only partially implemented
Control is based on token limits and budget rules, not explicit context window constraints

No ability to configure context length limits per:
individual user
team/group
No dedicated “context window limitation” setting exists
No per-user override mechanism for context size

Expected Result
System should provide explicit context length limitation mechanism
Admin should be able to:
Set context length limits per user
Set context length limits per group/team
Override group settings at user level
Context truncation rules should be clearly defined and configurable

Activity

  1. added
    priority: high
    needs discussion
    feat
    service: platform
    on Apr 10, 2026
  2. yannickmonney commented on Apr 11, 2026

    @yannickmonney
    Contributor

    Implementation PR: #1388

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featneeds discussionpriority: highservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions