v6d-io / v6d

vineyard (v6d): an in-memory immutable data manager. (Project under CNCF, TAG-Storage)
https://v6d.io
Apache License 2.0
819 stars 117 forks source link

Change llm api return value to vineyard::Status. #1794

Closed vegetableysm closed 4 months ago

vegetableysm commented 4 months ago

What do these changes do?

Related issue number

Fixes #1791

sighingnow commented 4 months ago

ONLY use try catch when there's a known exception thrown from the thirdparty libraries, otherwise, vineyard uses Status to propogate errors.