Skip to content

parseIssues

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/autonomous/confidence-filter.ts

Parse scored issues from agent output text.

Tries line-format first (one issue per line), then falls back to JSON array. Returns empty array if neither format is found.

Signature

ts
function parseIssues(agentOutput: string, agentName: string): ScoredIssue[]

Parameters

NameType
agentOutputstring
agentNamestring

Returns: ScoredIssue[]

Was this page helpful?

Download as PDF