Remove some log messages

This commit is contained in:
oobabooga 2025-06-10 14:29:28 -07:00
parent 3f9eb3aad1
commit 1c1fd3be46

View file

@ -1271,8 +1271,6 @@ def clear_character_for_ui(state):
if cache_path.exists():
cache_path.unlink()
logger.info("Cleared character fields and picture cache")
return state, state['name2'], state['context'], state['greeting'], None
@ -1779,7 +1777,6 @@ def handle_character_picture_change(picture):
picture.save(Path(f'{cache_folder}/pfp_character.png'), format='PNG')
thumb = make_thumbnail(picture)
thumb.save(Path(f'{cache_folder}/pfp_character_thumb.png'), format='PNG')
logger.info("Updated character picture cache")
else:
# Remove cache files when picture is cleared
for cache_file in ['pfp_character.png', 'pfp_character_thumb.png']:
@ -1787,8 +1784,6 @@ def handle_character_picture_change(picture):
if cache_path.exists():
cache_path.unlink()
logger.info("Cleared character picture cache")
def handle_mode_change(state):
history = load_latest_history(state)