Closed
Description
The types for citations and sensitivity labels are wrong.
They need to be inside Message, under the citation key or usageInfo. But they're all set in root-level message entity right now.
Look at the interface in v1: https://github.com/microsoft/teams-ai/blob/6473c84d4bb9fa73895e86ec58589cd3b112fcb5/js/packages/teams-ai/src/types/AIEntity.ts#L12
Without this I get:
[ERROR] @teams/app Request failed with status code 400
console.ts:68
[ERROR] @teams/app /amer/72f988bf-86f1-41af-91ab-2d7cd011db47/v3/conversations/a:1dXpqANu3xMYb5EWLxNKW3wIODq2Q_xCHlnZC5yhXs59-3gI_vkDW-P2o_YdXa0dh2FVPxzKNm7pjJ41ilafsgAeFHtPzvGEUWuJUY4Ij5InMsuZYjmkceuZg47DBAYf3/activities
console.ts:68
[ERROR] @teams/app {
console.ts:68
[ERROR] @teams/app "error": {
console.ts:68
[ERROR] @teams/app "code": "BadSyntax",
console.ts:68
[ERROR] @teams/app "message": "Multiple root message entities found in the bot activity"
console.ts:68
[ERROR] @teams/app }
console.ts:68
[ERROR] @teams/app }