LLMContextDetector Class
Detects known LLM and agentic execution contexts from environment variables.
public static class LLMContextDetectorMethods
| Name | Description |
|---|---|
| Detect() | Detects all known LLM and agentic execution contexts in the current environment. |
| IsLLMContext() | Determines whether the current environment is a known LLM or agentic execution context. |
Detect()
LLMContextDetector.csDetects all known LLM and agentic execution contexts in the current environment.
public static IReadOnlyList<LLMContextKind> Detect()Returns
IReadOnlyList<LLMContextKind> The detected contexts, in a stable order.