We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5688c9f commit b755758Copy full SHA for b755758
packages/ui/src/components/message-part.tsx
@@ -441,13 +441,17 @@ PART_MAPPING["reasoning"] = function ReasoningPartDisplay(props) {
441
ToolRegistry.register({
442
name: "read",
443
render(props) {
444
+ const args: string[] = []
445
+ if (props.input.offset) args.push("offset=" + props.input.offset)
446
+ if (props.input.limit) args.push("limit=" + props.input.limit)
447
return (
448
<BasicTool
449
{...props}
450
icon="glasses"
451
trigger={{
452
title: "Read",
453
subtitle: props.input.filePath ? getFilename(props.input.filePath) : "",
454
+ args,
455
}}
456
/>
457
)
0 commit comments