Merge branch 'main' into pr-191-github-copilot-auth

This commit is contained in:
Mario Zechner 2025-12-15 18:10:15 +01:00
commit ce4ba70d33
5 changed files with 518 additions and 7 deletions

View file

@ -115,7 +115,7 @@ export class ModelSelectorComponent extends Container {
}
private filterModels(query: string): void {
this.filteredModels = fuzzyFilter(this.allModels, query, ({ id }) => id);
this.filteredModels = fuzzyFilter(this.allModels, query, ({ id, provider }) => `${id} ${provider}`);
this.selectedIndex = Math.min(this.selectedIndex, Math.max(0, this.filteredModels.length - 1));
this.updateList();
}