Skip to content

Commit

Permalink
feat(admin): display model name
Browse files Browse the repository at this point in the history
  • Loading branch information
OrenZhang committed Mar 3, 2025
1 parent d3cd372 commit c2eef8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/usage/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@admin.register(AIModel)
class AIModelAdmin(admin.ModelAdmin):
list_display = ("model_id", "prompt_price", "completion_price")
list_display = ("model_id", "model_name", "prompt_price", "completion_price")
ordering = ("model_name",)
search_fields = ("model_id",)
actions = ("sync_models",)
Expand Down

0 comments on commit c2eef8d

Please sign in to comment.