From b35d3e7d15c658d204286432df102dbcfe6cf192 Mon Sep 17 00:00:00 2001 From: Mahdi Malaki Date: Thu, 17 Oct 2024 22:13:11 -0400 Subject: [PATCH] modify the comment. --- core/llm/llms/Bedrock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/llm/llms/Bedrock.ts b/core/llm/llms/Bedrock.ts index 1e6586a2a..c143fa412 100644 --- a/core/llm/llms/Bedrock.ts +++ b/core/llm/llms/Bedrock.ts @@ -116,7 +116,7 @@ class Bedrock extends BaseLLM { // https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_InferenceConfiguration.html // However, it might be better to implement a strategy that dynamically selects the most appropriate stop sequences // based on the context. - // TODO: Additionally, consider implementing a global exception handler for the provider to give users clearer feedback. + // TODO: Additionally, consider implementing a global exception handler for the providers to give users clearer feedback. // For example, differentiate between client-side errors (4XX status codes) and server-side issues (5XX status codes), // providing meaningful error messages to improve the user experience. stopSequences: options.stop?.filter((stop) => stop.trim() !== "").slice(0, 4),