microsoftgraph / microsoft-graph-toolkit

Authentication Providers and UI components for Microsoft Graph 🦒
https://docs.microsoft.com/graph/toolkit/overview
Other
936 stars 296 forks source link

[`mgt-chat`] Ability to toggle model B for API calls #2722

Open sebastienlevert opened 11 months ago

sebastienlevert commented 11 months ago

The chat component needs a new property usePremiumApis that is a boolean and that automatically appends model=B to all calls that support premium APIs.

We should be able to test with a real monetized app. We should render an error message if the conditions are not met (app is not a monetized app)

sebastienlevert commented 9 months ago

@yejuntak to design a specific error message for this.

yejuntak commented 9 months ago

@sebastienlevert @gavinbarron Should the error message be a pop up or render inside of chatbox?

sebastienlevert commented 9 months ago

Same as the other error messages, within the chat thread. Also we probably should disable the sendbox.