agent: Allow thinking in edit file tool (#34155)

Follow up to #34141. As pointed out by @maan2003 changing the thinking
parameters invalidates the message cache
([Docs](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching#what-invalidates-the-cache)).

All the other places where `thinking_allowed ` is set to `false` should
be fine since we do not do any caching there.

Release Notes:

- N/A
16d02cfdb3Bennet Bo Fenner committed on 7/9/2025, 9:08:32 PM· committed by GitHubparent2c41e10
1 file changedLine totals unavailable