Dedupe `PromptBuilder` construction (#23496)

This PR dedupes the construction of the `PromptBuilder`.

Previously this was constructed by both `assistant` and `assistant2`,
but now we construct it outside and pass it in.

Release Notes:

- N/A
51fcb710d7Marshall Bowers committed on 1/22/2025, 10:17:36 PM· committed by GitHubparentaad04e0
5 files changedLine totals unavailable