evals: Add system prompt to edit agent evals + fix edit agent (#31082)

1. Add system prompt: this is how it's called from threads. Previously,
we were sending
2. Fix an issue with writing agent thought into a newly created empty
file.

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Oleksiy Syvokon 2025-05-21 13:14:58 +03:00 committed by GitHub
parent 2f3564b85f
commit 91bc5aefa4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 66 additions and 55 deletions

1
Cargo.lock generated
View file

@ -688,6 +688,7 @@ dependencies = [
"portable-pty",
"pretty_assertions",
"project",
"prompt_store",
"rand 0.8.5",
"regex",
"reqwest_client",