mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
Telemetry: Improve clarity of user prompt event (#967)
This commit is contained in:
parent
1ef68e0612
commit
89f682f081
5 changed files with 65 additions and 9 deletions
|
|
@ -188,7 +188,7 @@ export const useGeminiStream = (
|
|||
const trimmedQuery = query.trim();
|
||||
logUserPrompt(config, {
|
||||
prompt: trimmedQuery,
|
||||
prompt_char_count: trimmedQuery.length,
|
||||
prompt_length: trimmedQuery.length,
|
||||
});
|
||||
onDebugMessage(`User query: '${trimmedQuery}'`);
|
||||
await logger?.logMessage(MessageSenderType.USER, trimmedQuery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue