Documentation ¶
Index ¶
- func Builtin(name string) (types.Tool, bool)
- func GetDefaultModel() string
- func ListTools() (result []types.Tool)
- func SetDefaultModel(model string)
- func SetDefaults(tool types.Tool) types.Tool
- func SysAbort(ctx context.Context, env []string, input string) (string, error)
- func SysAppend(ctx context.Context, env []string, input string) (string, error)
- func SysDownload(ctx context.Context, env []string, input string) (_ string, err error)
- func SysExec(ctx context.Context, env []string, input string) (string, error)
- func SysFind(ctx context.Context, env []string, input string) (string, error)
- func SysGetenv(ctx context.Context, env []string, input string) (string, error)
- func SysHTTPGet(ctx context.Context, env []string, input string) (_ string, err error)
- func SysHTTPHtml2Text(ctx context.Context, env []string, input string) (string, error)
- func SysHTTPPost(ctx context.Context, env []string, input string) (_ string, err error)
- func SysProgram() *types.Program
- func SysRead(ctx context.Context, env []string, input string) (string, error)
- func SysRemove(ctx context.Context, env []string, input string) (string, error)
- func SysStat(ctx context.Context, env []string, input string) (string, error)
- func SysWrite(ctx context.Context, env []string, input string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultModel ¶ added in v0.1.4
func GetDefaultModel() string
func SetDefaultModel ¶ added in v0.1.4
func SetDefaultModel(model string)
func SysDownload ¶
func SysHTTPGet ¶
func SysHTTPHtml2Text ¶
func SysHTTPPost ¶
func SysProgram ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.