artifact

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifacts

type Artifacts struct {
	Service   artifact.Service
	AppName   string
	UserID    string
	SessionID string
}

Artifacts implements Artifacts

func (*Artifacts) List

func (*Artifacts) Load

func (a *Artifacts) Load(ctx context.Context, name string) (*artifact.LoadResponse, error)

func (*Artifacts) LoadVersion

func (a *Artifacts) LoadVersion(ctx context.Context, name string, version int) (*artifact.LoadResponse, error)

func (*Artifacts) Save

func (a *Artifacts) Save(ctx context.Context, name string, data *genai.Part) (*artifact.SaveResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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