diff --git a/src/Infrastructure/BotSharp.Core/Translation/TranslationService.cs b/src/Infrastructure/BotSharp.Core/Translation/TranslationService.cs index 9fde3ad0e..fa4233407 100644 --- a/src/Infrastructure/BotSharp.Core/Translation/TranslationService.cs +++ b/src/Infrastructure/BotSharp.Core/Translation/TranslationService.cs @@ -380,6 +380,7 @@ private async Task InnerTranslate(List text Id = Guid.Empty.ToString(), Name = "Translator", Instruction = "You are a translation expert.", + LlmConfig = _router?.LlmConfig, TemplateDict = new() { ["text_list"] = jsonString, diff --git a/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json index 5e4186dcf..56ac1c2a3 100644 --- a/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json +++ b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json @@ -9,6 +9,11 @@ "disabled": false, "isPublic": true, "profiles": [ "planning", "fallback", "human" ], + "llmConfig": { + "provider": "openai", + "model": "gpt-5.4-mini", + "max_output_tokens": 4096 + }, "routingRules": [ { "type": "reasoner",