systemprompt

package
v0.46.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomScriptsBlock added in v0.45.0

func CustomScriptsBlock(user *model.User) string

CustomScriptsBlock returns the <custom_scripts> prompt block when the user can see and run the run_script tool: the tool is loaded, the user holds Run AI Scripts, and may execute scripts (built-in tools are only offered to users who may). Otherwise "".

func GetInternalSystemPrompt

func GetInternalSystemPrompt() string

GetInternalSystemPrompt returns the embedded system prompt (for scaffold command)

func GetSystemPrompt

func GetSystemPrompt(systemPromptFile string) string

GetSystemPrompt returns either the embedded system prompt or loads from file

Types

This section is empty.

Jump to

Keyboard shortcuts

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