modify the comment.
This commit is contained in:
parent
43349830ee
commit
b35d3e7d15
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue