ChrisTimperley / RepairChain

AIxCC: automated vulnerability repair via LLMs, search, and static analysis
Apache License 2.0
3 stars 0 forks source link

Add support for Claude 3.5 Sonnet #27

Closed rubengmartins closed 2 months ago

rubengmartins commented 2 months ago

This will require changing the model and seeing if the prompt needs to be adapted.

To have the output as JSON Claude 3.5 it requires some additional message in the assistant, otherwise, it returns some English description before the JSON.

May want to consider using instructor (https://github.com/jxnl/instructor) to make it easier to get structurer data.