microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

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

Open sebastienlevert opened this issue 2 years ago • 3 comments

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 avatar Sep 20 '23 20:09 sebastienlevert

@yejuntak to design a specific error message for this.

sebastienlevert avatar Nov 16 '23 18:11 sebastienlevert

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

yejuntak avatar Nov 22 '23 20:11 yejuntak

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

sebastienlevert avatar Nov 22 '23 21:11 sebastienlevert