hjg 账号默认使用 DeepSeek Pro AI 配置
This commit is contained in:
@@ -255,6 +255,8 @@ async def recap_market_stream(
|
||||
as_of: date | None = None,
|
||||
focus: str = "",
|
||||
news: list[dict] | None = None,
|
||||
*,
|
||||
username: str | None = None,
|
||||
) -> AsyncIterator[str]:
|
||||
"""流式大盘复盘:yield 出每个 NDJSON 事件。
|
||||
|
||||
@@ -298,6 +300,7 @@ async def recap_market_stream(
|
||||
],
|
||||
temperature=0.5,
|
||||
max_tokens=4500,
|
||||
username=username,
|
||||
):
|
||||
yield json.dumps({"type": "delta", "content": delta}, ensure_ascii=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user