nv-morpheus / Morpheus

Morpheus SDK
Apache License 2.0
347 stars 130 forks source link

Handling agent parsing error and adding a default value for NVAI_BASE_URL #1695

Closed hsin-c closed 4 months ago

hsin-c commented 4 months ago

The agent model in the CVE pipeline sometimes runs into a parsing error that crashes the entire run. This PR adds the handling of such error by replacing it with a default failure sentence and logging the failure. This PR also includes an addition of a default value for NVAI_BASE_URL.