mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-07 14:29:04 +01:00
Fix chat participant icons (#207652)
* Fix chat participant icons * Update test
This commit is contained in:
@@ -218,7 +218,7 @@ export class ChatAgentService extends Disposable implements IChatAgentService {
|
||||
{
|
||||
extensionId: p.extensionId,
|
||||
id: p.name,
|
||||
metadata: { description: p.description },
|
||||
metadata: this._agents.has(p.name) ? this._agents.get(p.name)!.data.metadata : { description: p.description },
|
||||
isDefault: p.isDefault,
|
||||
defaultImplicitVariables: p.defaultImplicitVariables,
|
||||
locations: isNonEmptyArray(p.locations) ? p.locations.map(ChatAgentLocation.fromRaw) : [ChatAgentLocation.Panel],
|
||||
|
||||
@@ -22,7 +22,11 @@
|
||||
},
|
||||
agent: {
|
||||
id: "ChatProviderWithUsedContext",
|
||||
metadata: { description: undefined }
|
||||
metadata: {
|
||||
description: undefined,
|
||||
requester: { name: "test" },
|
||||
fullName: "test"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -54,7 +58,11 @@
|
||||
value: "nullExtensionDescription",
|
||||
_lower: "nullextensiondescription"
|
||||
},
|
||||
metadata: { description: undefined },
|
||||
metadata: {
|
||||
description: undefined,
|
||||
requester: { name: "test" },
|
||||
fullName: "test"
|
||||
},
|
||||
slashCommands: [ ],
|
||||
locations: [ 1 ],
|
||||
isDefault: undefined
|
||||
|
||||
Reference in New Issue
Block a user