repo

package
v0.0.0-...-c20d9b3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpenAIRepo

func NewOpenAIRepo(db *db.Client) domain.OpenAIRepo

Types

type OpenAIRepo

type OpenAIRepo struct {
	// contains filtered or unexported fields
}

func (OpenAIRepo) GetApiKey

func (o OpenAIRepo) GetApiKey(ctx context.Context, key string) (*db.ApiKey, error)

GetApiKey implements domain.OpenAIRepo.

func (OpenAIRepo) ModelList

func (o OpenAIRepo) ModelList(ctx context.Context) ([]*db.Model, error)

ModelList implements domain.OpenAIRepo.

Jump to

Keyboard shortcuts

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