mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-17 19:44:45 +08:00
feat: add strategic_investment report style (#595)
* add strategic_investment mode * make format * make lint * fix: repair lint-frontend
This commit is contained in:
@@ -275,7 +275,6 @@ async def _stream_graph_events(
|
||||
)
|
||||
|
||||
|
||||
|
||||
async def _astream_workflow_generator(
|
||||
messages: List[dict],
|
||||
thread_id: str,
|
||||
@@ -519,6 +518,7 @@ async def enhance_prompt(request: EnhancePromptRequest):
|
||||
"POPULAR_SCIENCE": ReportStyle.POPULAR_SCIENCE,
|
||||
"NEWS": ReportStyle.NEWS,
|
||||
"SOCIAL_MEDIA": ReportStyle.SOCIAL_MEDIA,
|
||||
"STRATEGIC_INVESTMENT": ReportStyle.STRATEGIC_INVESTMENT,
|
||||
}
|
||||
report_style = style_mapping.get(
|
||||
request.report_style.upper(), ReportStyle.ACADEMIC
|
||||
|
||||
Reference in New Issue
Block a user