dotnet / dotnet/aspnetcore

Components.AI: Represent stopped and incomplete answers explicitly

Open
#68,384 0 comments 0 reactions 0 assignees View on GitHub
area-blazor cost: S feature-blazor-builtin-components Priority:0
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.

A cancelled or failed streaming response can appear indistinguishable from a completed answer.

### Describe the solution you'd like

Keep partial content, mark the message as incomplete with the correct stopped/failed outcome, retain message actions, and expose retry at turn scope.

### Additional context

Leaf task for #68227 requirements F12 and G8.

See: https://github.com/dotnet/aspnetcore/pull/68325#discussion_r3795899991.

Contributor guide

Open the contributing guide

Research direction

Start by reading the Components.AI requirements in #68227, especially F12 and G8, then review the linked discussion on pull request #68325. Done means cancelled or failed streaming responses preserve partial content, expose the correct stopped or failed outcome, retain message actions, and provide retry at turn scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ai
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.