From e6fe82760f41173239c3ddc50d85931ef5cec41b Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:19:30 +0200 Subject: [PATCH] Change ids on OR prompt cost --- public/index.html | 6 +++--- public/scripts/textgen-models.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index ae73b3b8d..24593898e 100644 --- a/public/index.html +++ b/public/index.html @@ -266,9 +266,9 @@ -
- Max prompt cost: Unknown -
+ + Max prompt cost: +
diff --git a/public/scripts/textgen-models.js b/public/scripts/textgen-models.js index 230c415b7..0c580a3d4 100644 --- a/public/scripts/textgen-models.js +++ b/public/scripts/textgen-models.js @@ -384,7 +384,7 @@ function calculateOpenRouterCost() { } } - $('#openrouter_max_prompt_cost_tg').text(cost); + $('#or_prompt_cost').text(cost); // Schedule an update when settings change eventSource.removeListener(event_types.SETTINGS_UPDATED, calculateOpenRouterCost);