Skip to content

Commit e214faa

Browse files
Update src/core/webview/webviewMessageHandler.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 91c9798 commit e214faa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/webview/webviewMessageHandler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,8 +1036,8 @@ export const webviewMessageHandler = async (
10361036
}
10371037

10381038
// DeepSeek is conditional on apiKey
1039-
const deepSeekApiKey = apiConfiguration.deepSeekApiKey || message?.values?.deepSeekApiKey
1040-
const deepSeekBaseUrl = apiConfiguration.deepSeekBaseUrl || message?.values?.deepSeekBaseUrl
1039+
const deepSeekApiKey = message?.values?.deepSeekApiKey ?? apiConfiguration.deepSeekApiKey
1040+
const deepSeekBaseUrl = message?.values?.deepSeekBaseUrl ?? apiConfiguration.deepSeekBaseUrl
10411041

10421042
if (deepSeekApiKey) {
10431043
if (message?.values?.deepSeekApiKey || message?.values?.deepSeekBaseUrl) {

0 commit comments

Comments
 (0)