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),