mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-27 09:27:45 +01:00
Clean up browser logs
This commit is contained in:
parent
5ef79bd64d
commit
bbed147ce5
@ -3050,7 +3050,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
|||||||
//console.log(thisPromptBits);
|
//console.log(thisPromptBits);
|
||||||
|
|
||||||
itemizedPrompts.push(thisPromptBits);
|
itemizedPrompts.push(thisPromptBits);
|
||||||
console.log(`pushed prompt bits to itemizedPrompts array. Length is now: ${itemizedPrompts.length}`);
|
console.debug(`pushed prompt bits to itemizedPrompts array. Length is now: ${itemizedPrompts.length}`);
|
||||||
|
|
||||||
if (main_api == 'openai') {
|
if (main_api == 'openai') {
|
||||||
if (isStreamingEnabled() && type !== 'quiet') {
|
if (isStreamingEnabled() && type !== 'quiet') {
|
||||||
|
@ -1375,9 +1375,6 @@ PromptManagerModule.prototype.renderPromptManagerListItems = function () {
|
|||||||
</li>
|
</li>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
console.log(this.activeCharacter)
|
|
||||||
console.log(this.serviceSettings)
|
|
||||||
console.log(this.getPromptsForCharacter(this.activeCharacter))
|
|
||||||
this.getPromptsForCharacter(this.activeCharacter).forEach(prompt => {
|
this.getPromptsForCharacter(this.activeCharacter).forEach(prompt => {
|
||||||
if (!prompt) return;
|
if (!prompt) return;
|
||||||
|
|
||||||
|
@ -450,9 +450,9 @@ export function dragElement(elmnt) {
|
|||||||
topbar, topbarWidth, topBarFirstX, topBarLastX, topBarLastY, sheldWidth;
|
topbar, topbarWidth, topBarFirstX, topBarLastX, topBarLastY, sheldWidth;
|
||||||
|
|
||||||
var elmntName = elmnt.attr('id');
|
var elmntName = elmnt.attr('id');
|
||||||
console.log(`dragElement called for ${elmntName}`);
|
console.debug(`dragElement called for ${elmntName}`);
|
||||||
const elmntNameEscaped = $.escapeSelector(elmntName);
|
const elmntNameEscaped = $.escapeSelector(elmntName);
|
||||||
console.log(`dragElement escaped name: ${elmntNameEscaped}`);
|
console.debug(`dragElement escaped name: ${elmntNameEscaped}`);
|
||||||
const elmntHeader = $(`#${elmntNameEscaped}header`);
|
const elmntHeader = $(`#${elmntNameEscaped}header`);
|
||||||
|
|
||||||
if (elmntHeader.length) {
|
if (elmntHeader.length) {
|
||||||
|
@ -56,7 +56,7 @@ class EdgeTtsProvider {
|
|||||||
$('#edge_tts_rate').on("input", () => {this.onSettingsChange()})
|
$('#edge_tts_rate').on("input", () => {this.onSettingsChange()})
|
||||||
await this.checkReady()
|
await this.checkReady()
|
||||||
|
|
||||||
console.info("Settings loaded")
|
console.debug("EdgeTTS: Settings loaded")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ class ElevenLabsTtsProvider {
|
|||||||
$('#elevenlabs_tts_settings').on('input',this.onSettingsChange)
|
$('#elevenlabs_tts_settings').on('input',this.onSettingsChange)
|
||||||
|
|
||||||
await this.checkReady()
|
await this.checkReady()
|
||||||
console.info("Settings loaded")
|
console.debug("ElevenLabs: Settings loaded")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform a simple readiness check by trying to fetch voiceIds
|
// Perform a simple readiness check by trying to fetch voiceIds
|
||||||
|
@ -92,7 +92,7 @@ class NovelTtsProvider {
|
|||||||
|
|
||||||
this.populateCustomVoices()
|
this.populateCustomVoices()
|
||||||
await this.checkReady()
|
await this.checkReady()
|
||||||
console.info("Settings loaded")
|
console.debug("NovelTTS: Settings loaded")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform a simple readiness check by trying to fetch voiceIds
|
// Perform a simple readiness check by trying to fetch voiceIds
|
||||||
|
@ -67,7 +67,7 @@ class SileroTtsProvider {
|
|||||||
|
|
||||||
await this.checkReady()
|
await this.checkReady()
|
||||||
|
|
||||||
console.info("Settings loaded")
|
console.debug("SileroTTS: Settings loaded")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform a simple readiness check by trying to fetch voiceIds
|
// Perform a simple readiness check by trying to fetch voiceIds
|
||||||
|
@ -151,7 +151,7 @@ class SystemTtsProvider {
|
|||||||
|
|
||||||
$('#system_tts_pitch_output').text(this.settings.pitch);
|
$('#system_tts_pitch_output').text(this.settings.pitch);
|
||||||
$('#system_tts_rate_output').text(this.settings.rate);
|
$('#system_tts_rate_output').text(this.settings.rate);
|
||||||
console.info("Settings loaded");
|
console.debug("SystemTTS: Settings loaded");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform a simple readiness check by trying to fetch voiceIds
|
// Perform a simple readiness check by trying to fetch voiceIds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user