lmstudio

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelsList

type ModelsList struct {
	Data []struct {
		Id string `json:"id"`
	} `json:"data"`
}

ModelsList is the response from the /v1/models endpoint

type Provider

type Provider struct {
	api.BasicInferenceProvider
}

func (*Provider) GetInference

func (p *Provider) GetInference(ctx context.Context) (model.ToolCallingChatModel, error)

func (*Provider) GetModels

func (p *Provider) GetModels(_ context.Context) ([]string, error)

func (*Provider) Initialize

func (p *Provider) Initialize(ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL