mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
add location specific data along when making chat request (#219114)
with this PR the implicit variables tricks aren't needed anymore
This commit is contained in:
@@ -20,8 +20,8 @@ import { isEqual } from 'vs/base/common/resources';
|
||||
import { StableEditorBottomScrollState } from 'vs/editor/browser/stableEditorScroll';
|
||||
import { ScrollType } from 'vs/editor/common/editorCommon';
|
||||
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
||||
import { ChatAgentLocation } from 'vs/workbench/contrib/chat/common/chatAgents';
|
||||
import { ILogService } from 'vs/platform/log/common/log';
|
||||
import { IChatWidgetLocationOptions } from 'vs/workbench/contrib/chat/browser/chatWidget';
|
||||
|
||||
export class InlineChatZoneWidget extends ZoneWidget {
|
||||
|
||||
@@ -31,7 +31,7 @@ export class InlineChatZoneWidget extends ZoneWidget {
|
||||
private _dimension?: Dimension;
|
||||
|
||||
constructor(
|
||||
location: ChatAgentLocation,
|
||||
location: IChatWidgetLocationOptions,
|
||||
editor: ICodeEditor,
|
||||
@IInstantiationService private readonly _instaService: IInstantiationService,
|
||||
@ILogService private _logService: ILogService,
|
||||
|
||||
Reference in New Issue
Block a user