SetWatcherContext configures a function that provides K8s watcher context to be prepended to all LLM prompts.
(fn func() string)
| 125 | // SetWatcherContext configures a function that provides K8s watcher context |
| 126 | // to be prepended to all LLM prompts. |
| 127 | func (h *Handler) SetWatcherContext(fn func() string) { |
| 128 | h.watcherContextFunc = fn |
| 129 | } |
| 130 | |
| 131 | // SetWatcher configures full watcher integration with context, status, and stats. |
| 132 | func (h *Handler) SetWatcher(cfg WatcherConfig) { |
no outgoing calls