Skip to content

Commit f8bb333

Browse files
authored
fix: render icons for # variable attachment widgets (microsoft#223770)
1 parent 3b9aee0 commit f8bb333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatVariables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class ChatVariablesService implements IChatVariablesService {
5656
};
5757
jobs.push(data.resolver(prompt.text, part.variableArg, model, variableProgressCallback, token).then(value => {
5858
if (value) {
59-
resolvedVariables[i] = { id: data.data.id, modelDescription: data.data.modelDescription, name: part.variableName, range: part.range, value, references };
59+
resolvedVariables[i] = { id: data.data.id, modelDescription: data.data.modelDescription, name: part.variableName, range: part.range, value, references, fullName: data.data.fullName, icon: data.data.icon };
6060
}
6161
}).catch(onUnexpectedExternalError));
6262
}

0 commit comments

Comments
 (0)