Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalChatHandler ¶
type LocalChatHandler struct {
// contains filtered or unexported fields
}
LocalChatHandler handles all /api/local/* endpoints.
func NewLocalChatHandler ¶
func NewLocalChatHandler( receiver *local.LocalReceiver, hub *local.SSEHub, sessionStore *store.LocalSessionStore, replyStore *store.LocalReplyStore, msgStore *store.MessageStore, sessionCtx *store.SessionStore, ) *LocalChatHandler
NewLocalChatHandler constructs a LocalChatHandler.
func (*LocalChatHandler) StreamReplies ¶
func (h *LocalChatHandler) StreamReplies(c *gin.Context)
StreamReplies streams SSE replies for a local chat session.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( ws *store.WorkerStore, es *store.ExecutionStore, mgr *worker.Manager, logRegistry *worker.ActiveLogRegistry, mcpSrv *mcp.MCPServer, mcpAPIKey string, staticFS fs.FS, localChat *LocalChatHandler, authHandler *auth.AuthHandler, jwtMiddleware gin.HandlerFunc, ) (*Server, error)
Click to show internal directories.
Click to hide internal directories.