From 9fcacf6b4391d509c1eecabbafc6bef7d15a140d Mon Sep 17 00:00:00 2001 From: Adrian Kahali Date: Tue, 27 Jan 2026 11:30:37 -0500 Subject: [PATCH] fix: typos --- studio/concepts/agents/translator-agent.mdx | 4 ++-- studio/concepts/hooks.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/studio/concepts/agents/translator-agent.mdx b/studio/concepts/agents/translator-agent.mdx index 4b750fe1..1bcdc28b 100644 --- a/studio/concepts/agents/translator-agent.mdx +++ b/studio/concepts/agents/translator-agent.mdx @@ -11,11 +11,11 @@ The Translator Agent enables the bot to communicate in multiple languages by aut When this option is enabled, the agent will automatically detect the language in which the user is communicating on the first incoming message it receives. -The message must be at least 3 tokens= in order to be processed by the agent. Note that this process will automatically overwrite the language variable, even if you set that variable manually at the beginning of the conversation. +The message must be at least 3 tokens in order to be processed by the agent. Note that this process will automatically overwrite the language variable, even if you set that variable manually at the beginning of the conversation. ### Detect Language Change -When this option is enabled, the agent will attempt to detect the user's language on ever conversation turn=. This is particularly useful if you expect the user's language to switch throughout a single conversation. +When this option is enabled, the agent will attempt to detect the user's language on ever conversation turn. This is particularly useful if you expect the user's language to switch throughout a single conversation. If this option is disabled, the agent will only detect the user's language when it's designated as 'null'. diff --git a/studio/concepts/hooks.mdx b/studio/concepts/hooks.mdx index cd788f56..2982b491 100644 --- a/studio/concepts/hooks.mdx +++ b/studio/concepts/hooks.mdx @@ -53,7 +53,7 @@ This Hook type executes its code before your bot processes an incoming `event`. ### After Incoming -This Hook type executes its code after the incoming message has been processed, but before the bot has responded.. +This Hook type executes its code after the incoming message has been processed, but before the bot has responded. **Parameters**: @@ -308,4 +308,4 @@ You can use a Hook of this type to [track AI spend and token cost](/studio/guide ## Troubleshooting -If your Hook isn't behaving as expected, you can [check your bot's logs](/studio/concepts/debugger-logs-json) to diagnose any problems. \ No newline at end of file +If your Hook isn't behaving as expected, you can [check your bot's logs](/studio/concepts/debugger-logs-json) to diagnose any problems.