prompt

package
v2026.610.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtMentionWorkflowSection added in v2026.606.3

func AtMentionWorkflowSection() string

func EffectiveShell

func EffectiveShell() string

func ImagesWorkflowSection added in v2026.602.2

func ImagesWorkflowSection() string

func LegacyOnlyToolInvocationSyntax

func LegacyOnlyToolInvocationSyntax(planMode bool) string

func LegacyToolInvocationSyntaxAppend

func LegacyToolInvocationSyntaxAppend(planMode bool) string

func NativeToolInvocationSyntax

func NativeToolInvocationSyntax(legacyFallbackEnabled bool) string

func RenderAgent added in v2026.610.0

func RenderAgent(d Data) (string, error)

func RenderBuild

func RenderBuild(d Data) (string, error)

func RenderChat added in v2026.610.0

func RenderChat(d Data) (string, error)

func RenderPlan

func RenderPlan(d Data) (string, error)

func RenderSummarize

func RenderSummarize(d SummarizeData) (string, error)

func RenderSummarizeSystem

func RenderSummarizeSystem(d SummarizeData) (string, error)

func RenderTitle

func RenderTitle(d TitleData) (string, error)

func SummarizeSystemFallback

func SummarizeSystemFallback(language string) string

func SystemWithNoThink

func SystemWithNoThink(disableThinking bool, content string) string

func ToolInvocationSyntaxSection

func ToolInvocationSyntaxSection(legacyEnabled, legacyForced, planMode bool) string

Types

type Data

type Data struct {
	Tools                 string
	Syntax                string
	LegacySyntax          string
	LegacyToolsEnabled    bool
	LegacyToolsForced     bool
	ExternalToolBridge    bool
	ExtraRules            string
	CustomRules           string
	GlobalInstructions    string
	RepoInstructions      string
	Language              string
	UserName              string
	DisableThinking       bool
	SystemOS              string
	SystemBits            string
	SystemCPUFamily       string
	SystemGOARCH          string
	WorkspaceAbsolutePath string
	Shell                 string
	ImagesWorkflow        string
	AtMentionWorkflow     string
}

type SummarizeData

type SummarizeData struct {
	Transcript      string
	Language        string
	DisableThinking bool
	ImagesWorkflow  string
}

type TitleData

type TitleData struct {
	Language        string
	DisableThinking bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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