(reason: string)
| 32 | |
| 33 | export async function handleFeedbackCommand(host: SlashCommandHost): Promise<void> { |
| 34 | const fallback = (reason: string): void => { |
| 35 | host.showStatus(reason); |
| 36 | host.showStatus(FEEDBACK_ISSUE_URL); |
| 37 | openUrl(FEEDBACK_ISSUE_URL); |
| 38 | }; |
| 39 | |
| 40 | const providerKey = host.state.appState.availableModels[host.state.appState.model]?.provider; |
| 41 | if (!isManagedUsageProvider(providerKey)) { |
no test coverage detected