Skip to content

Agent execution fails when Document Store title is in Korean – Invalid 'tools[0].function.name': empty string #5598

@doubleclip118

Description

@doubleclip118

Describe the bug

When a Document Store with a Korean (non-ASCII) title is upserted and then connected to an Agentflow as a Tool, the Agent fails immediately on execution with the following error:
Error in Agent node: 400 Invalid 'tools[0].function.name': empty string. Expected a string with minimum length 1, but got an empty string instead.

To Reproduce

Create a Document Store

Upload documents and set the Document Store title in Korean

Generate embeddings and confirm Vector Store creation

Create an Agentflow

Connect the Document Store to the Agent as a Tool

Run the Agent and enter any query

Observe the error:

Expected behavior

The Agent should execute normally regardless of the language used in the Document Store title

The Document Store Tool should be properly registered with a valid function name

The Agent should retrieve documents and generate a response

Screenshots

Image Image Image

Flow

No response

Use Method

None

Flowise Version

No response

Operating System

None

Browser

None

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions