Skip to content

Customise "Calling tool" text for non ui tool #77

@hame25

Description

@hame25

Hi

I have some tools that purely return data to the agent.

When the agent calls these tools it displays "Calling tool" text, even when they have invoking and invoked values in their metadata

e.g

_meta: {
  'openai/toolInvocation/invoking': 'Searching products',
  'openai/toolInvocation/invoked': 'Found priducts'
}

If I use a tool that returns a UI then rather than displaying "Calling tool" I see both the invoking and invoked message displayed correctly.

Am I doing something wrong, is it possible to show a customised message for a tool that doesn't return a UI?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions