dotnet / dotnet/aspnetcore

Components.AI: Add composer character and token limits

Open
#68,405 0 comments 0 reactions 0 assignees View on GitHub
area-blazor cost: S feature-blazor-builtin-components Priority:2
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

### Is your feature request related to a problem? Please describe the problem.

Applications cannot configure or communicate composer input limits before submission.

### Describe the solution you'd like

Add configurable maximum length/token policy, an accessible counter, and an over-limit state integrated with composer `CanSend` behavior.

### Additional context

Leaf task for #68227 requirement C6.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Components.AI composer and its CanSend behavior. Review requirement C6 in issue #68227 for context, then define completion as configurable maximum length/token limits, an accessible counter, and an over-limit state that affects CanSend.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.