perf: move label file to data dir

This commit is contained in:
Junyan Qin
2025-01-02 10:51:09 +08:00
parent 6aa325a4b1
commit b1244a4d4e
7 changed files with 17 additions and 98 deletions

View File

@@ -105,7 +105,7 @@ class ChatMessageHandler(handler.MessageHandler):
await self.ap.ctr_mgr.usage.post_query_record(
session_type=query.session.launcher_type.value,
session_id=str(query.session.launcher_id),
query_ability_provider="QChatGPT.Chat",
query_ability_provider="LangBot.Chat",
usage=text_length,
model_name=query.use_model.name,
response_seconds=int(time.time() - start_time),