This commit is contained in:
parent
0fd7df06dd
commit
03dde27de1
|
|
@ -11,7 +11,7 @@ class AnalysisRequest(BaseModel):
|
|||
ticker: str = Field(..., description="Stock ticker symbol (e.g., 'NVDA', 'AAPL')", min_length=1, max_length=10)
|
||||
analysis_date: str = Field(..., description="Analysis date in YYYY-MM-DD format")
|
||||
analysts: Optional[List[str]] = Field(
|
||||
default=["market", "sentiment", "news", "fundamentals"],
|
||||
default=["market", "social", "news", "fundamentals"],
|
||||
description="List of analysts to include in analysis"
|
||||
)
|
||||
research_depth: Optional[int] = Field(default=1, ge=1, le=5, description="Research depth (1-5)")
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ class TradingService:
|
|||
try:
|
||||
# Default analysts if not provided
|
||||
if analysts is None:
|
||||
analysts = ["market", "sentiment", "news", "fundamentals"]
|
||||
analysts = ["market", "social", "news", "fundamentals"]
|
||||
|
||||
# Dynamically set environment variables for this request
|
||||
import os
|
||||
|
|
@ -142,7 +142,7 @@ class TradingService:
|
|||
|
||||
def get_available_analysts(self) -> List[str]:
|
||||
"""Get list of available analyst types"""
|
||||
return ["market", "sentiment", "news", "fundamentals"]
|
||||
return ["market", "social", "news", "fundamentals"]
|
||||
|
||||
def get_available_llms(self) -> List[str]:
|
||||
"""Get list of available OpenAI LLM models"""
|
||||
|
|
|
|||
|
|
@ -133,11 +133,9 @@ export function AnalysisForm({ onSubmit, loading = false }: AnalysisFormProps) {
|
|||
</SelectTrigger>
|
||||
</FormControl>
|
||||
<SelectContent>
|
||||
<SelectItem value="1">1 - 快速</SelectItem>
|
||||
<SelectItem value="2">2 - 標準</SelectItem>
|
||||
<SelectItem value="3">3 - 詳盡</SelectItem>
|
||||
<SelectItem value="4">4 - 深入</SelectItem>
|
||||
<SelectItem value="5">5 - 全面</SelectItem>
|
||||
<SelectItem value="1">淺層 - 快速研究,較少的辯論和策略討論</SelectItem>
|
||||
<SelectItem value="3">中等 - 中等程度,適度的辯論和策略討論</SelectItem>
|
||||
<SelectItem value="5">深層 - 全面研究,深入的辯論和策略討論</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<FormDescription>
|
||||
|
|
|
|||
Loading…
Reference in New Issue