MCPcopy Create free account

hub / github.com/164149043/AlphaCouncil / functions

Functions43 in github.com/164149043/AlphaCouncil

↓ 6 callersFunctionsafeGenerate
* 辅助函数:安全生成(带降级机制) * 如果首选模型失败(如 key 错误),自动降级使用 Gemini
services/geminiService.ts:120
↓ 4 callersFunctionhandleConfigChange
(role: AgentRole, newConfig: AgentConfig)
App.tsx:28
↓ 4 callersFunctionisStepLoading
(stepIndex: number)
App.tsx:233
↓ 4 callersFunctionisStepPending
(stepIndex: number)
App.tsx:235
↓ 3 callersFunctiongetBackendUrl
()
services/geminiService.ts:5
↓ 3 callersFunctiongetHistory
()
lib/storage.ts:99
↓ 3 callersFunctionloadHistory
()
App.tsx:180
↓ 2 callersFunctiongenerateAgentResponse
( config: AgentConfig, stockSymbol: string, apiKeys: ApiKeys, context: string = "", stockDataContext
services/geminiService.ts:11
↓ 1 callersFunctionclearHistory
()
lib/storage.ts:189
↓ 1 callersFunctionclearState
()
lib/storage.ts:88
↓ 1 callersFunctiondeleteFromHistory
(id: string)
lib/storage.ts:170
↓ 1 callersFunctionextractJson
(text: string)
components/AgentCard.tsx:34
↓ 1 callersFunctionfetchStockData
(symbol: string, apiKey?: string)
services/juheService.ts:73
↓ 1 callersFunctionformatStockDataForPrompt
(data: StockRealtimeData | null)
services/juheService.ts:118
↓ 1 callersFunctiongetTempColor
(t: number)
components/AgentCard.tsx:198
↓ 1 callersFunctionhandleDeleteHistory
(id: string)
App.tsx:201
↓ 1 callersFunctionhandleRestoreFromHistory
(item: HistoryItem)
App.tsx:185
↓ 1 callersFunctionloadState
()
lib/storage.ts:60
↓ 1 callersFunctionplayTypingSound
()
components/AgentCard.tsx:69
↓ 1 callersFunctionremoveCodeBlock
(text: string)
components/AgentCard.tsx:51
↓ 1 callersFunctionrenderChart
()
components/AgentCard.tsx:144
↓ 1 callersFunctionrestoreFromHistory
(item: HistoryItem)
lib/storage.ts:200
↓ 1 callersFunctionrunAnalystsStage
( stockSymbol: string, configs: Record<AgentRole, AgentConfig>, apiKeys: ApiKeys, stockDataContext:
services/geminiService.ts:152
↓ 1 callersFunctionrunGMStage
( stockSymbol: string, outputs: WorkflowState['outputs'], configs: Record<AgentRole, AgentConfig>,
services/geminiService.ts:251
↓ 1 callersFunctionrunManagersStage
( stockSymbol: string, outputs: WorkflowState['outputs'], configs: Record<AgentRole, AgentConfig>,
services/geminiService.ts:180
↓ 1 callersFunctionrunRiskStage
( stockSymbol: string, outputs: WorkflowState['outputs'], configs: Record<AgentRole, AgentConfig>,
services/geminiService.ts:215
↓ 1 callersFunctionsaveState
(state: WorkflowState)
lib/storage.ts:37
↓ 1 callersFunctionsaveToHistory
(state: WorkflowState)
lib/storage.ts:120
↓ 1 callersFunctionvalidateStockCode
(symbol: string)
App.tsx:39
FunctionAgentCard
({ config, content, isLoading, isPending, isConfigMode, onConfigChange })
components/AgentCard.tsx:55
FunctionApp
()
App.tsx:21
FunctionStockInput
({ onAnalyze, disabled })
components/StockInput.tsx:10
FunctiongetInitialState
()
lib/storage.ts:215
FunctionhandleAnalyze
(symbol: string, apiKeys: ApiKeys)
App.tsx:66
FunctionhandleClearHistory
()
App.tsx:207
FunctionhandleModelChange
(e: React.ChangeEvent<HTMLSelectElement>)
components/AgentCard.tsx:190
FunctionhandleOpenHistory
()
App.tsx:213
FunctionhandleSubmit
(e: React.FormEvent)
components/StockInput.tsx:20
Functionhandler
(req, res)
api/stock/[symbol].js:10
Functionhandler
(req, res)
api/ai/qwen.js:9
Functionhandler
(req, res)
api/ai/deepseek.js:9
Functionhandler
(req, res)
api/ai/gemini.js:9
Functionreset
()
App.tsx:164