config_provider

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigPromptProvider

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

ConfigPromptProvider implements pkg.PromptProvider interface

func NewConfigPromptProvider

func NewConfigPromptProvider(config_ *config.Config, profile string) (*ConfigPromptProvider, error)

func (*ConfigPromptProvider) GetPrompt

func (p *ConfigPromptProvider) GetPrompt(_ context.Context, name string, arguments map[string]string) (*protocol.PromptMessage, error)

GetPrompt implements pkg.PromptProvider interface

func (*ConfigPromptProvider) ListPrompts

func (p *ConfigPromptProvider) ListPrompts(_ context.Context, cursor string) ([]protocol.Prompt, string, error)

ListPrompts implements pkg.PromptProvider interface

Jump to

Keyboard shortcuts

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