config: add backend and model fields

This commit is contained in:
Levi Neely 2026-05-17 00:15:39 +02:00
parent 22d72f143d
commit 8c3b40ffe1
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ func (p Prompt) MarshalJSON() ([]byte, error) {
type Config struct {
Hooks map[string]HookCmds `json:"hooks,omitempty"`
Prompt Prompt `json:"prompt,omitempty"`
Backend string `json:"backend,omitempty"`
Model string `json:"model,omitempty"`
Tools *bool `json:"tools,omitempty"`
TrustedTools []string `json:"trustedTools,omitempty"`
AllowExecutors []string `json:"allowExecutors,omitempty"`