github

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubProvider

type GithubProvider struct {
	openai.OpenAIProvider
}

func (*GithubProvider) GetModelList

func (p *GithubProvider) GetModelList() ([]string, error)

type GithubProviderFactory

type GithubProviderFactory struct{}

func (GithubProviderFactory) Create

创建 GithubProvider

type ModelInfo

type ModelInfo struct {
	ID            string   `json:"id"`
	Name          string   `json:"name"`
	FriendlyName  string   `json:"friendly_name"`
	ModelVersion  int      `json:"model_version"`
	Publisher     string   `json:"publisher"`
	ModelFamily   string   `json:"model_family"`
	ModelRegistry string   `json:"model_registry"`
	License       string   `json:"license"`
	Task          string   `json:"task"`
	Description   string   `json:"description"`
	Summary       string   `json:"summary"`
	Tags          []string `json:"tags"`
}

type ModelListResponse

type ModelListResponse []ModelInfo

Jump to

Keyboard shortcuts

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