Documentation
¶
Index ¶
- func BuildChatSystemPrompt(registry *diagnose.ToolRegistry, snapshot, language string, allowShell bool) string
- func CollectSnapshot(registry *diagnose.ToolRegistry) string
- func ExecShell(ctx context.Context, command string, timeout time.Duration) (string, error)
- func Run(verbose bool, modelPin string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildChatSystemPrompt ¶ added in v0.21.0
func BuildChatSystemPrompt(registry *diagnose.ToolRegistry, snapshot, language string, allowShell bool) string
BuildChatSystemPrompt constructs the system prompt for chat sessions.
func CollectSnapshot ¶ added in v0.13.0
func CollectSnapshot(registry *diagnose.ToolRegistry) string
CollectSnapshot runs baseline diagnostic tools concurrently and returns a compact text summary. Failures are silently skipped.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.