dependabit / detector/src / LLMResponse
Interface: LLMResponse
Defined in: packages/detector/src/llm/client.ts:92
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
| Property | Type | Description | Defined in |
|---|---|---|---|
dependencies | DetectedDependency[] | - | packages/detector/src/llm/client.ts:93 |
rawResponse? | string | Raw model output; present only when the provider preserves it. | packages/detector/src/llm/client.ts:96 |
usage | LLMUsageMetadata | - | packages/detector/src/llm/client.ts:94 |