Skip to content

dependabit / detector/src / LLMResponse

Interface: LLMResponse ​

Defined in: packages/detector/src/llm/client.ts:90

The structured response returned by LLMProvider.analyze.

Remarks ​

rawResponse is preserved for debugging purposes. When the LLM returns malformed JSON, provider implementations typically return an empty dependencies array rather than throwing, so callers should not assume an empty array means the LLM was not called.

Properties ​

PropertyTypeDescriptionDefined in
dependenciesDetectedDependency[]-packages/detector/src/llm/client.ts:91
rawResponse?stringRaw model output; present only when the provider preserves it.packages/detector/src/llm/client.ts:94
usageLLMUsageMetadata-packages/detector/src/llm/client.ts:92

Released under the MIT License.