Help us shape the future of Go! Take the 2026 Go Developer Survey

dryrun

package
v1.4.308 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 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() ([]string, error)

func (*Client) NeedsRawMode

func (c *Client) NeedsRawMode(modelName string) bool

func (*Client) Send

func (*Client) SendStream

func (c *Client) SendStream(msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan string) 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