From 03fc9395f991aa12f3e803a7a9c764819af07394 Mon Sep 17 00:00:00 2001 From: orenzhang Date: Tue, 15 Apr 2025 19:50:29 +0800 Subject: [PATCH] fix(model): request price is not saved --- backend/open_webui/models/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/models/models.py b/backend/open_webui/models/models.py index d6852b36fa..727aecd7f7 100755 --- a/backend/open_webui/models/models.py +++ b/backend/open_webui/models/models.py @@ -140,6 +140,7 @@ class ModelPriceForm(BaseModel): completion_price: float = Field( default=0, description="completion token price for 1m tokens" ) + request_price: float = Field(default=0, description="price for 1m request") class ModelForm(BaseModel):