ZIm/crates/language_model/src
Marshall Bowers f3140f54d8
assistant2: Wire up error messages (#21426)
This PR wires up the error messages for Assistant 2 so that they are
shown to the user:

<img width="1138" alt="Screenshot 2024-12-02 at 4 28 02 PM"
src="https://github.com/user-attachments/assets/d8a5b9bd-0cef-4304-b561-b2edadbc70ef">
<img width="1138" alt="Screenshot 2024-12-02 at 4 29 09 PM"
src="https://github.com/user-attachments/assets/0dd70841-0d5a-4de6-bebe-82c563246b65">
<img width="1138" alt="Screenshot 2024-12-02 at 4 32 49 PM"
src="https://github.com/user-attachments/assets/a8838866-fad1-43a9-8935-490dc1936016">

@danilo-leal I kept the existing UX from Assistant 1, as I didn't see
any errors in the design prototype, but we can revisit if another
approach would work better.

Release Notes:

- N/A
2024-12-02 16:54:46 -05:00
..
model Remove Qwen2 model (#18444) 2024-09-27 13:30:25 -04:00
fake_provider.rs Add language_models crate to house language model providers (#20945) 2024-11-20 18:49:34 -05:00
language_model.rs assistant2: Wire up error messages (#21426) 2024-12-02 16:54:46 -05:00
rate_limiter.rs Allow customization of the model used for tool calling (#15479) 2024-07-30 16:18:53 +02:00
registry.rs Add language_models crate to house language model providers (#20945) 2024-11-20 18:49:34 -05:00
request.rs assistant2: Restructure storage of tool uses and results (#21194) 2024-11-25 21:53:27 -05:00
role.rs Restructure workflow step resolution and fix inserting newlines (#15720) 2024-08-05 09:18:06 +02:00