hjg 账号默认使用 DeepSeek Pro AI 配置

This commit is contained in:
2026-07-07 22:17:00 +08:00
parent 490fb7ac0a
commit 2f2b53e03e
12 changed files with 130 additions and 30 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ async def analyze_stock(request: Request, req: AnalyzeRequest):
data_dir = repo.store.data_dir
async def stream_gen():
async for chunk in analyze_stock_stream(repo, data_dir, req.symbol, req.focus):
async for chunk in analyze_stock_stream(repo, data_dir, req.symbol, req.focus, username=request.state.username):
yield chunk + "\n"
return StreamingResponse(