modify the comment.

This commit is contained in:
Mahdi Malaki 2024-10-17 22:13:11 -04:00
parent 43349830ee
commit b35d3e7d15

View file

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