Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAvailablePort ¶
FindAvailablePort finds an available port starting from the given port
func GetDefaultDatabasePath ¶
GetDefaultDatabasePath returns the default database path used by the CLI
func StartVisualizationServer ¶
StartVisualizationServer is a convenience function to start the server
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the web visualization server
type TreeNode ¶
type TreeNode struct {
ID string `json:"id"`
Content string `json:"content"`
Type string `json:"type"`
Parent *string `json:"parent,omitempty"`
Children string `json:"children"`
Model *string `json:"model,omitempty"`
}
TreeNode represents a node in the conversation tree for JSON serialization
Click to show internal directories.
Click to hide internal directories.