Merge pull request #1927 from SillyTavern/windef

Fix Windows Defender false positive
This commit is contained in:
Cohee 2024-03-13 11:22:07 +02:00 committed by GitHub
commit 9d8ce44671
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -266,9 +266,9 @@
</label>
</div>
</div>
<div data-tg-type="openrouter">
Max prompt cost: <span id="openrouter_max_prompt_cost_tg">Unknown</span>
</div>
<small data-tg-type="openrouter">
Max prompt cost: <span id="or_prompt_cost">&ndash;</span>
</small>
</div>
<hr>
</div>

View File

@ -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);