mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Use model information from active widget when delegating (#281082)
* Use model information from active widget when delegating * Update src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -281,6 +281,8 @@ class CreateRemoteAgentJobAction {
|
|||||||
const requestData = await chatService.sendRequest(sessionResource, userPrompt, {
|
const requestData = await chatService.sendRequest(sessionResource, userPrompt, {
|
||||||
agentIdSilent: continuationTargetType,
|
agentIdSilent: continuationTargetType,
|
||||||
attachedContext: attachedContext.asArray(),
|
attachedContext: attachedContext.asArray(),
|
||||||
|
userSelectedModelId: widget.input.currentLanguageModel,
|
||||||
|
...widget.getModeRequestOptions()
|
||||||
});
|
});
|
||||||
|
|
||||||
if (requestData) {
|
if (requestData) {
|
||||||
|
|||||||
Reference in New Issue
Block a user