Documentation
¶
Overview ¶
Package system provides system prompt construction for GenCode. It assembles prompts from modular components: base identity, provider-specific instructions, and dynamic environment information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Provider string // Provider name: anthropic, openai, google
Model string // Model identifier
Cwd string // Current working directory
IsGit bool // Whether cwd is a git repository
// Extension points (reserved for future use)
Memory string // CLAUDE.md or similar memory content
PlanMode bool // Whether in plan mode
Extra []string // Additional prompt sections
}
Config holds configuration for system prompt generation.
Click to show internal directories.
Click to hide internal directories.