update pay function

This commit is contained in:
2025-11-28 16:32:27 +08:00
parent 250d585b87
commit ec2978026a
7 changed files with 212 additions and 73 deletions

View File

@@ -122,7 +122,7 @@ export const MEETING_ROLES: Record<string, MeetingRoleConfig> = {
name: '巴菲特',
nickname: '唱多者',
roleType: 'bull',
avatar: '/avatars/buffett.png',
avatar: '/images/agent/巴菲特.png',
color: '#10B981',
gradient: 'linear(to-br, green.400, emerald.600)',
description: '主观多头,善于分析事件的潜在利好和长期价值',
@@ -133,7 +133,7 @@ export const MEETING_ROLES: Record<string, MeetingRoleConfig> = {
name: '大空头',
nickname: '大空头',
roleType: 'bear',
avatar: '/avatars/big_short.png',
avatar: '/images/agent/大空头.png',
color: '#EF4444',
gradient: 'linear(to-br, red.400, rose.600)',
description: '善于分析事件和财报中的风险因素,帮助投资者避雷',
@@ -144,7 +144,7 @@ export const MEETING_ROLES: Record<string, MeetingRoleConfig> = {
name: '量化分析员',
nickname: '西蒙斯',
roleType: 'quant',
avatar: '/avatars/simons.png',
avatar: '/images/agent/simons.png',
color: '#3B82F6',
gradient: 'linear(to-br, blue.400, cyan.600)',
description: '中性立场,使用量化分析工具分析技术指标',
@@ -155,7 +155,7 @@ export const MEETING_ROLES: Record<string, MeetingRoleConfig> = {
name: '韭菜',
nickname: '牢大',
roleType: 'retail',
avatar: '/avatars/leek.png',
avatar: '/images/agent/牢大.png',
color: '#F59E0B',
gradient: 'linear(to-br, amber.400, yellow.600)',
description: '贪婪又讨厌亏损,热爱追涨杀跌的典型散户',
@@ -166,7 +166,7 @@ export const MEETING_ROLES: Record<string, MeetingRoleConfig> = {
name: '基金经理',
nickname: '决策者',
roleType: 'manager',
avatar: '/avatars/fund_manager.png',
avatar: '/images/agent/基金经理.png',
color: '#8B5CF6',
gradient: 'linear(to-br, purple.400, violet.600)',
description: '总结其他人的发言做出最终决策',

View File

@@ -220,15 +220,9 @@ export const TOOL_CATEGORIES: Record<ToolCategory, MCPTool[]> = {
/**
* 默认选中的工具 ID 列表
* 这些工具在页面初始化时自动选中
* 所有工具在页面初始化时自动选中
*/
export const DEFAULT_SELECTED_TOOLS: string[] = [
'search_news',
'search_china_news',
'search_concepts',
'search_limit_up_stocks',
'search_research_reports',
];
export const DEFAULT_SELECTED_TOOLS: string[] = MCP_TOOLS.map((tool) => tool.id);
/**
* 根据 ID 查找工具配置