Update ContextProvidersQuickPick.ts
This commit is contained in:
parent
70c6a0a423
commit
71ec451899
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export async function getContextProvidersString(
|
|||
provider.description.displayTitle === selectedProvider.label,
|
||||
);
|
||||
|
||||
if (!provider) {
|
||||
if (!provider || !config.selectedModelByRole.chat) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue