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 91c9798 commit e214faaCopy full SHA for e214faa
1 file changed
src/core/webview/webviewMessageHandler.ts
@@ -1036,8 +1036,8 @@ export const webviewMessageHandler = async (
1036
}
1037
1038
// DeepSeek is conditional on apiKey
1039
- const deepSeekApiKey = apiConfiguration.deepSeekApiKey || message?.values?.deepSeekApiKey
1040
- const deepSeekBaseUrl = apiConfiguration.deepSeekBaseUrl || message?.values?.deepSeekBaseUrl
+ const deepSeekApiKey = message?.values?.deepSeekApiKey ?? apiConfiguration.deepSeekApiKey
+ const deepSeekBaseUrl = message?.values?.deepSeekBaseUrl ?? apiConfiguration.deepSeekBaseUrl
1041
1042
if (deepSeekApiKey) {
1043
if (message?.values?.deepSeekApiKey || message?.values?.deepSeekBaseUrl) {
0 commit comments