mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
refactor: Centralize session ID generation and propagation
This commit is contained in:
@@ -4,10 +4,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { randomUUID } from 'crypto';
|
||||
|
||||
export const SERVICE_NAME = 'gemini-cli';
|
||||
export const sessionId = randomUUID();
|
||||
|
||||
export const EVENT_USER_PROMPT = 'gemini_code.user_prompt';
|
||||
export const EVENT_TOOL_CALL = 'gemini_code.tool_call';
|
||||
|
||||
Reference in New Issue
Block a user