Niansuh commited on
Commit
c2431bf
·
verified ·
1 Parent(s): 51edae9

Update api/utils.py

Browse files
Files changed (1) hide show
  1. api/utils.py +2 -2
api/utils.py CHANGED
@@ -82,7 +82,7 @@ async def process_streaming_response(request: ChatRequest):
82
  "clickedForceWebSearch": False,
83
  "codeModelMode": True,
84
  "githubToken": None,
85
- "id": request_id,
86
  "isChromeExt": False,
87
  "isMicMode": False,
88
  "maxTokens": request.max_tokens,
@@ -173,7 +173,7 @@ async def process_non_streaming_response(request: ChatRequest):
173
  "clickedForceWebSearch": False,
174
  "codeModelMode": True,
175
  "githubToken": None,
176
- "id": request_id,
177
  "isChromeExt": False,
178
  "isMicMode": False,
179
  "maxTokens": request.max_tokens,
 
82
  "clickedForceWebSearch": False,
83
  "codeModelMode": True,
84
  "githubToken": None,
85
+ "id": None,
86
  "isChromeExt": False,
87
  "isMicMode": False,
88
  "maxTokens": request.max_tokens,
 
173
  "clickedForceWebSearch": False,
174
  "codeModelMode": True,
175
  "githubToken": None,
176
+ "id": None,
177
  "isChromeExt": False,
178
  "isMicMode": False,
179
  "maxTokens": request.max_tokens,