- Introduction of preferred contact time form

- Logging asset usage in TRAICIE_SELECTION_SPECIALIST
This commit is contained in:
Josako
2025-07-22 18:20:01 +02:00
parent dc6cd9d940
commit 32cf105d7b
4 changed files with 61 additions and 7 deletions

View File

@@ -121,7 +121,7 @@ class TranslationCacheHandler(CacheHandler[TranslationCache]):
'prompt_tokens': existing_translation.prompt_tokens,
'completion_tokens': existing_translation.completion_tokens,
'time_elapsed': 0,
'interaction_type': 'LLM'
'interaction_type': 'TRANSLATION'
}
current_event.log_llm_metrics(metrics)
db.session.commit()