package
Version:
v0.7.1
Opens a new window with list of versions in this module.
Published: Oct 5, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package system builds the environment block of a turn's system prompt:
the model in use, the working directory and the date.
type API struct {
ID string `json:"id"`
}
type Context struct {
Directory string `json:"directory"`
Worktree string `json:"worktree"`
Project Project `json:"project"`
}
type Model struct {
ProviderID string `json:"providerID"`
API API `json:"api"`
}
type Project struct {
VCS string `json:"vcs"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.