Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit c81b5a2

Browse files
Update assets/javascripts/discourse/components/ai-spam.gjs
Co-authored-by: Keegan George <[email protected]>
1 parent b406825 commit c81b5a2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

assets/javascripts/discourse/components/ai-spam.gjs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ export default class AiSpam extends Component {
4343
this.stats = model.stats;
4444
}
4545

46-
get availableLLMs() {
47-
return (this.args.model?.available_llms || []).map((llm) => ({
48-
id: llm.id,
49-
name: llm.name,
50-
}));
51-
}
46+
get availableLLMs() {
47+
return this.args.model?.available_llms || [];
48+
}
5249

5350
@action
5451
async toggleEnabled() {

0 commit comments

Comments
 (0)