diff --git a/src/views/AgentChat/constants/models.ts b/src/views/AgentChat/constants/models.ts index 1e81adf3..bb99afda 100644 --- a/src/views/AgentChat/constants/models.ts +++ b/src/views/AgentChat/constants/models.ts @@ -1,7 +1,7 @@ // src/views/AgentChat/constants/models.ts // 可用模型配置 -import React from 'react'; +import * as React from 'react'; import { Brain, Zap, TrendingUp } from 'lucide-react'; /** diff --git a/src/views/AgentChat/constants/tools.ts b/src/views/AgentChat/constants/tools.ts index 45390fb5..89930d60 100644 --- a/src/views/AgentChat/constants/tools.ts +++ b/src/views/AgentChat/constants/tools.ts @@ -1,7 +1,7 @@ // src/views/AgentChat/constants/tools.ts // MCP 工具配置 -import React from 'react'; +import * as React from 'react'; import { Globe, Newspaper,