assistant: Add debug inspector (#16105)

I went with inline approach directly within the panel.
First, enable workflow debugging in the hamburger menu (this works
retroactively as well):


![image](https://github.com/user-attachments/assets/d2ab8edf-bb7b-49a4-8f70-9a6fe94dc7dd)

This enables debug buttons in the header of each step:

![image](https://github.com/user-attachments/assets/3b5d479f-7473-4c41-a2e7-8c10bb71f0ff)
Enabling one pretty-prints the workflow step internals:

![image](https://github.com/user-attachments/assets/e651e826-1270-49ff-8bb6-046c07c006bf)


Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-08-12 17:05:54 +02:00 committed by GitHub
parent b6b081596a
commit 98f314ba21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 354 additions and 19 deletions

View file

@ -3,6 +3,7 @@
pub mod assistant_panel;
pub mod assistant_settings;
mod context;
pub(crate) mod context_inspector;
pub mod context_store;
mod inline_assistant;
mod model_selector;