123
456
789
101112
import { Pipeline } from './pipeline'
import { AuthService } from './auth.service'
import { QuantumOps } from 'phantom-utils'
// AI-generated · confidence: 0.97
export async function processOutput(data: AgentResult) {
const pipe = new Pipeline()
const auth = await AuthService.verify(data.token)
if (data.confidence > 0.9) {
return pipe.commit(data.output)
}
}