HF RL Explorer

The Chat widget currently lacks support for rendering custom UI when a message contains a tool part. Right…

The Chat widget currently lacks support for rendering custom UI when a message contains a tool part. Right…: a task in LegoFlow-SWE (Harbor dataset). When a message part has a type like tool-hello (e.g., {type: 'tool-hello', toolCallId: '1', input: {text: 'hello'}, output: 'hello'} ), there is no…

The task

When a message part has a type like `tool-hello` (e.g., `{type: 'tool-hello', toolCallId: '1', input: {text: 'hello'}, output: 'hello'}`), there is no mechanism to map that part to a user-defined UI component. The widget renders the tool part as plain text or ignores it entirely.

Part of Lego-X/LegoFlow-SWE.