Versions in this module Expand all Collapse all v0 v0.0.1 Nov 20, 2025 Changes in this version + type DeleteModelRequest struct + ModelID string + type LMStudioClient struct + BaseURL string + HTTP *http.Client + ModelsDir string + func NewLMStudioClient(baseUrl string, modelsDir string) *LMStudioClient + func (c *LMStudioClient) Chat(ctx context.Context, payload []byte) (json.RawMessage, int, error) + func (c *LMStudioClient) DeleteModel(ctx context.Context, modelID string) (string, error) + func (c *LMStudioClient) ListModels(ctx context.Context) (json.RawMessage, int, error) + func (c *LMStudioClient) PullModel(ctx context.Context, identifier string) ([]byte, error) + type ModelInfo struct + ID string + Publisher string + type NATSResponse struct + Data interface{} + Error string + OK bool + type PullModelRequest struct + Identifier string + type Server struct + func NewServer(client *LMStudioClient, nc *nats.Conn) *Server + func (s *Server) OnChatModel(msg *nats.Msg) + func (s *Server) OnDeleteModel(msg *nats.Msg) + func (s *Server) OnPullModel(msg *nats.Msg)