Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzeRequest ¶
type AnalyzeRequest struct {
StockCode string `json:"stockCode"` // 股票代码
Query string `json:"query"` // 分析问题
}
AnalyzeRequest 分析请求
type AnalyzeResponse ¶
type AnalyzeResponse struct {
Success bool `json:"success"`
Summary string `json:"summary,omitempty"` // 最终总结
Error string `json:"error,omitempty"` // 错误信息
}
AnalyzeResponse 分析响应
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server OpenClaw HTTP 服务
func NewServer ¶
func NewServer(ms *meeting.Service, ac *agent.Container, resolver func(string) *models.AIConfig, stockResolver StockResolver) *Server
NewServer 创建 OpenClaw 服务
Click to show internal directories.
Click to hide internal directories.