- Introduction of preferred contact time form
- Logging asset usage in TRAICIE_SELECTION_SPECIALIST
This commit is contained in:
2
common/utils/cache/translation_cache.py
vendored
2
common/utils/cache/translation_cache.py
vendored
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user