We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e78aace commit 6a1c35eCopy full SHA for 6a1c35e
src/core/webview/webviewMessageHandler.ts
@@ -944,13 +944,12 @@ export const webviewMessageHandler = async (
944
: undefined,
945
})
946
947
- if (Object.keys(rooModels).length > 0) {
948
- provider.postMessageToWebview({
949
- type: "singleRouterModelFetchResponse",
950
- success: true,
951
- values: { provider: "roo", models: rooModels },
952
- })
953
- }
+ // Always send a response, even if no models are returned
+ provider.postMessageToWebview({
+ type: "singleRouterModelFetchResponse",
+ success: true,
+ values: { provider: "roo", models: rooModels },
+ })
954
} catch (error) {
955
// Send error response
956
const errorMessage = error instanceof Error ? error.message : String(error)
0 commit comments