- first run of cleanup

- update new required services for tests and adjust them
This commit is contained in:
Johannes
2024-03-20 15:58:55 +01:00
parent dfd931d40c
commit 6ae696aa56
6 changed files with 174 additions and 397 deletions

View File

@@ -292,7 +292,7 @@ export class InlineChatSessionServiceImpl implements IInlineChatSessionService {
}
private _asChatProviderBrigdeName(provider: IInlineChatSessionProvider) {
return `editor-inline-chat:${ExtensionIdentifier.toKey(provider.extensionId)}`;
return `inlinechat:${provider.label}:${ExtensionIdentifier.toKey(provider.extensionId)}`;
}
async createSession(editor: IActiveCodeEditor, options: { editMode: EditMode; wholeRange?: Range }, token: CancellationToken): Promise<Session | undefined> {
@@ -363,10 +363,6 @@ export class InlineChatSessionServiceImpl implements IInlineChatSessionService {
}
}));
store.add(chatModel.onDidChange(e => {
console.log('chatModel.onDidChange', e);
}));
const id = generateUuid();
const targetUri = textModel.uri;