Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/164149043/AlphaCouncil
/ functions
Functions
43 in github.com/164149043/AlphaCouncil
⨍
Functions
43
◇
Types & classes
18
↓ 6 callers
Function
safeGenerate
* 辅助函数:安全生成(带降级机制) * 如果首选模型失败(如 key 错误),自动降级使用 Gemini
services/geminiService.ts:120
↓ 4 callers
Function
handleConfigChange
(role: AgentRole, newConfig: AgentConfig)
App.tsx:28
↓ 4 callers
Function
isStepLoading
(stepIndex: number)
App.tsx:233
↓ 4 callers
Function
isStepPending
(stepIndex: number)
App.tsx:235
↓ 3 callers
Function
getBackendUrl
()
services/geminiService.ts:5
↓ 3 callers
Function
getHistory
()
lib/storage.ts:99
↓ 3 callers
Function
loadHistory
()
App.tsx:180
↓ 2 callers
Function
generateAgentResponse
( config: AgentConfig, stockSymbol: string, apiKeys: ApiKeys, context: string = "", stockDataContext
services/geminiService.ts:11
↓ 1 callers
Function
clearHistory
()
lib/storage.ts:189
↓ 1 callers
Function
clearState
()
lib/storage.ts:88
↓ 1 callers
Function
deleteFromHistory
(id: string)
lib/storage.ts:170
↓ 1 callers
Function
extractJson
(text: string)
components/AgentCard.tsx:34
↓ 1 callers
Function
fetchStockData
(symbol: string, apiKey?: string)
services/juheService.ts:73
↓ 1 callers
Function
formatStockDataForPrompt
(data: StockRealtimeData | null)
services/juheService.ts:118
↓ 1 callers
Function
getTempColor
(t: number)
components/AgentCard.tsx:198
↓ 1 callers
Function
handleDeleteHistory
(id: string)
App.tsx:201
↓ 1 callers
Function
handleRestoreFromHistory
(item: HistoryItem)
App.tsx:185
↓ 1 callers
Function
loadState
()
lib/storage.ts:60
↓ 1 callers
Function
playTypingSound
()
components/AgentCard.tsx:69
↓ 1 callers
Function
removeCodeBlock
(text: string)
components/AgentCard.tsx:51
↓ 1 callers
Function
renderChart
()
components/AgentCard.tsx:144
↓ 1 callers
Function
restoreFromHistory
(item: HistoryItem)
lib/storage.ts:200
↓ 1 callers
Function
runAnalystsStage
( stockSymbol: string, configs: Record<AgentRole, AgentConfig>, apiKeys: ApiKeys, stockDataContext:
services/geminiService.ts:152
↓ 1 callers
Function
runGMStage
( stockSymbol: string, outputs: WorkflowState['outputs'], configs: Record<AgentRole, AgentConfig>,
services/geminiService.ts:251
↓ 1 callers
Function
runManagersStage
( stockSymbol: string, outputs: WorkflowState['outputs'], configs: Record<AgentRole, AgentConfig>,
services/geminiService.ts:180
↓ 1 callers
Function
runRiskStage
( stockSymbol: string, outputs: WorkflowState['outputs'], configs: Record<AgentRole, AgentConfig>,
services/geminiService.ts:215
↓ 1 callers
Function
saveState
(state: WorkflowState)
lib/storage.ts:37
↓ 1 callers
Function
saveToHistory
(state: WorkflowState)
lib/storage.ts:120
↓ 1 callers
Function
validateStockCode
(symbol: string)
App.tsx:39
Function
AgentCard
({ config, content, isLoading, isPending, isConfigMode, onConfigChange })
components/AgentCard.tsx:55
Function
App
()
App.tsx:21
Function
StockInput
({ onAnalyze, disabled })
components/StockInput.tsx:10
Function
getInitialState
()
lib/storage.ts:215
Function
handleAnalyze
(symbol: string, apiKeys: ApiKeys)
App.tsx:66
Function
handleClearHistory
()
App.tsx:207
Function
handleModelChange
(e: React.ChangeEvent<HTMLSelectElement>)
components/AgentCard.tsx:190
Function
handleOpenHistory
()
App.tsx:213
Function
handleSubmit
(e: React.FormEvent)
components/StockInput.tsx:20
Function
handler
(req, res)
api/stock/[symbol].js:10
Function
handler
(req, res)
api/ai/qwen.js:9
Function
handler
(req, res)
api/ai/deepseek.js:9
Function
handler
(req, res)
api/ai/gemini.js:9
Function
reset
()
App.tsx:164