testlib

package
v2.11.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterExpectedChatResponse

func RegisterExpectedChatResponse(response string)

func RegisterExpectedChatResponseStream

func RegisterExpectedChatResponseStream(response string)

func SetAPIKey

func SetAPIKey(t *testing.T)

Types

type TestCtx

type TestCtx struct {
	Config *viper.Viper

	ConfigDir   string
	CacheDir    string
	PersonasDir string
}

func NewTestCtx

func NewTestCtx(t *testing.T) *TestCtx

Jump to

Keyboard shortcuts

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