Documentation
¶
Index ¶
- type Server
- func (s *Server) GetActiveWaiterInfo(sessionID string) (bool, *time.Time, int)
- func (s *Server) GetLastKeepaliveTime(sessionID string) *time.Time
- func (s *Server) HasActiveWaiter(sessionID string) bool
- func (s *Server) NotifySessionCompleted(sess *model.FeedbackSession)
- func (s *Server) RecordKeepaliveResponse(sessionID string)
- func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type ToolDefinition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetActiveWaiterInfo ¶
func (*Server) GetLastKeepaliveTime ¶
func (*Server) HasActiveWaiter ¶
func (*Server) NotifySessionCompleted ¶
func (s *Server) NotifySessionCompleted(sess *model.FeedbackSession)
func (*Server) RecordKeepaliveResponse ¶
type ToolDefinition ¶
type ToolDefinition struct {
Name string `json:"name"`
Description string `json:"description"`
InputSchema json.RawMessage `json:"inputSchema"`
}
func GetToolDefinitions ¶
func GetToolDefinitions(role string) []ToolDefinition
Click to show internal directories.
Click to hide internal directories.