wise-white•7d ago
URGENT - Tool Message Contents Not Translating
We are using the "contents" property on a tool message to configure the tool message start response to the end use. We have included a list of contents in different langugaes, but only english is returned.
4 Replies
wise-whiteOP•7d ago
Here is our assistant tools request
"tools": [
{
"type": "function",
"server": {
"url": "<model_url>",
"headers": {
"Authorization": "<model_auth_token>"
},
"timeoutSeconds": 45
},
"function": {
"name": "generate_report",
"description": "Generate a report",
"parameters": {
"type": "object",
"properties": {
"recipient_email": {
"type": "string",
"description": "The recipient email. "
},
"report_name": {
"type": "string",
"description": "The name of the report. Use "Report" if none is determined"
}
},
"required": ["recipient_email", "report_name"]
}
},
"messages": [
{
"type": "request-start",
"contents": [
{
"type": "text",
"text": "Please hold on while I take care of that",
"language": "en"
},
{
"type": "text",
"text": "Aguarde um momento enquanto eu cuido disso",
"language": "pt"
}
]
},
{
"type": "request-response-delayed",
"timingMilliseconds": 11250,
"contents": [
{
"type": "text",
"text": "Still working on it. Thanks for being patient.",
"language": "en"
},
{
"type": "text",
"text": "Ainda estou trabalhando nisso. Obrigado pela paciência.",
"language": "pt"
},
] } ] } ], This is for a high profile use case and we need a response as quickly as possible on this
] } ] } ], This is for a high profile use case and we need a response as quickly as possible on this
Hi Noah,
If you're having trouble with tool message translations, try these steps:
1. Tool Configuration: Check that your tool settings have the right language parameters. More details are in the Update Tool documentation.
2. Default Roles: Make sure the default role properties in
ToolMessage
are set correctly, as noted in the May 26, 2025 changelog.
3. Schema Validation: Ensure your tool's schema has the right parameters. You can enable schema validation by adding strict: true
to your configuration, as mentioned in the Custom tools troubleshooting guide.
If you're still having issues, check your workflow and how the tool is integrated into your conversation nodes.
These steps should help with the translation issues.wise-whiteOP•3d ago
I tried all of those and we are still getting the same issue. I followed the multilingual guide with all my configuration. We are using transient assistants with a custom llm and custom functions
We could work around this if we could do the dynamic handoff tool, but that is not working either #Handoff tool not working (Urgent)
Hey, could you send me a screen recording that shows the issue you're facing? It would help me understand better. Also, please include the call_id and org_id, and mention the specific problem so our team can assist you.