Commit 6883e99
Merged PR 48250: [internal/release/9.3] Fix report generation
The .NET side code for the `ScenarioRunResult` was recently changed (##5998) to include `ChatResponse` (which can contain multiple `ChatMessage`s) in place of a single `ChatMessage`. Unfortunately, we missed updating the TypeScript reporting code to account for this.
This change fixes the problem by updating the deserialization code in TypeScript to match what .NET code serializes.
Cherry-picked from commit `41bbedd0` (#6061)1 parent 3ebaddf commit 6883e99
2 files changed
Lines changed: 7 additions & 3 deletions
File tree
- src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/components
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
0 commit comments