Skip to content

Commit

Permalink
Add ext id
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Apr 1, 2024
1 parent f5b5a6a commit e89e795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/standalone/api/kernels/kernel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { StopWatch } from '../../../platform/common/utils/stopWatch';
import { Deferred, createDeferred, sleep } from '../../../platform/common/utils/async';
import { once } from '../../../platform/common/utils/events';
import { traceVerbose } from '../../../platform/logging';
import { JVSC_EXTENSION_ID, PYTHON_LANGUAGE } from '../../../platform/common/constants';
import { JVSC_EXTENSION_ID, POWER_TOYS_EXTENSION_ID, PYTHON_LANGUAGE } from '../../../platform/common/constants';
import { ChatMime, generatePythonCodeToInvokeCallback } from '../../../kernels/chat/generator';
import {
isDisplayIdTrackedForExtension,
Expand Down Expand Up @@ -186,7 +186,7 @@ class WrappedKernelPerExtension extends DisposableBase implements Kernel {
},
onDidChangeStatus: that.onDidChangeStatus.bind(this),
get onDidReceiveDisplayUpdate() {
if (![JVSC_EXTENSION_ID].includes(extensionId)) {
if (![JVSC_EXTENSION_ID, POWER_TOYS_EXTENSION_ID].includes(extensionId)) {
throw new Error(`Proposed API is not supported for extension ${extensionId}`);
}

Expand Down

0 comments on commit e89e795

Please sign in to comment.