dryrun

package
v1.4.452 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DryRunResponse = "Dry run: Fake response sent by DryRun plugin\n"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*plugins.PluginBase
}

func NewClient

func NewClient() *Client

func (*Client) ListModels

func (c *Client) ListModels(_ context.Context) ([]string, error)

func (*Client) Send

func (*Client) SendStream

func (c *Client) SendStream(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUpdate) error

func (*Client) Setup

func (c *Client) Setup() error

func (*Client) SetupFillEnvFileContent

func (c *Client) SetupFillEnvFileContent(_ *bytes.Buffer)

Jump to

Keyboard shortcuts

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