mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-23 14:14:46 +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:
@@ -24,7 +24,7 @@ export async function* chatStream(
|
||||
interrupt_feedback?: string;
|
||||
enable_deep_thinking?: boolean;
|
||||
enable_background_investigation: boolean;
|
||||
report_style?: "academic" | "popular_science" | "news" | "social_media";
|
||||
report_style?: "academic" | "popular_science" | "news" | "social_media" | "strategic_investment";
|
||||
mcp_settings?: {
|
||||
servers: Record<
|
||||
string,
|
||||
|
||||
@@ -30,7 +30,7 @@ export type SettingsState = {
|
||||
maxPlanIterations: number;
|
||||
maxStepNum: number;
|
||||
maxSearchResults: number;
|
||||
reportStyle: "academic" | "popular_science" | "news" | "social_media";
|
||||
reportStyle: "academic" | "popular_science" | "news" | "social_media" | "strategic_investment";
|
||||
};
|
||||
mcp: {
|
||||
servers: MCPServerMetadata[];
|
||||
@@ -130,7 +130,7 @@ export const getChatStreamSettings = () => {
|
||||
};
|
||||
|
||||
export function setReportStyle(
|
||||
value: "academic" | "popular_science" | "news" | "social_media",
|
||||
value: "academic" | "popular_science" | "news" | "social_media" | "strategic_investment",
|
||||
) {
|
||||
useSettingsStore.setState((state) => ({
|
||||
general: {
|
||||
|
||||
Reference in New Issue
Block a user