tecuts commited on
Commit
e8a49e0
·
verified ·
1 Parent(s): 846f4fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -295,7 +295,8 @@ async def generate_streaming_response(messages: List[Dict], use_search: bool, te
295
 
296
  # --- Streaming Chat Endpoint ---
297
  @app.post("/chat/stream")
298
- async def chat_stream_endpoint(request: Request, _: None = Depends(verify_origin)):
 
299
  if not client:
300
  raise HTTPException(status_code=500, detail="LLM client not configured")
301
 
 
295
 
296
  # --- Streaming Chat Endpoint ---
297
  @app.post("/chat/stream")
298
+ async def chat_stream_endpoint(request: Request#, _: None = Depends(verify_origin)
299
+ ):
300
  if not client:
301
  raise HTTPException(status_code=500, detail="LLM client not configured")
302