Skip to content

Commit

Permalink
dev: updates to console levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Fortyseven committed Oct 13, 2024
1 parent 24aee39 commit c6b1c99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/TabPages/Conversation/Chat/FollowUps.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ Only respond with valid JSON in this format: ["suggestion", "suggestion2"]`;
async function regenerateFollowUps(called_by = undefined) {
if (isRegenerating) {
console.log('🛑 Already regenerating followups');
console.warn('🛑 Already regenerating followups');
return;
}
if ($chatTimeline.length < 2) {
console.log('🛑 Not enough chat history to generate followups');
console.warn('🛑 Not enough chat history to generate followups');
return;
}
Expand Down Expand Up @@ -126,7 +126,6 @@ Only respond with valid JSON in this format: ["suggestion", "suggestion2"]`;
onMount(() => {
eventBusContextHandler = eventBusContext.subscribe(async (ev) => {
if (ev && ev.name === 'onResponseComplete') {
// console.log('⭐ FollowUps event-bus RECEIVED EVENT:', ev.name);
if (!$isLoadingFollowups)
await regenerateFollowUps(
'subscribed-event-bus-onResponseComplete'
Expand Down

0 comments on commit c6b1c99

Please sign in to comment.