File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
langchain-core/src/errors
langchain-anthropic/src/utils
langchain-openai/src/utils Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ export function addLangChainErrorFields(
1414 lc_error_code : LangChainErrorCodes
1515) {
1616 ( error as any ) . lc_error_code = lc_error_code ;
17- error . message = `${ error . message } \n\nTroubleshooting URL: https://js .langchain.com/docs/troubleshooting /errors/${ lc_error_code } /\n` ;
17+ error . message = `${ error . message } \n\nTroubleshooting URL: https://docs .langchain.com/oss/javascript/langchain /errors/${ lc_error_code } /\n` ;
1818 return error ;
1919}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function addLangChainErrorFields(
1717 lc_error_code : LangChainErrorCodes
1818) {
1919 ( error as any ) . lc_error_code = lc_error_code ;
20- error . message = `${ error . message } \n\nTroubleshooting URL: https://js .langchain.com/docs/troubleshooting /errors/${ lc_error_code } /\n` ;
20+ error . message = `${ error . message } \n\nTroubleshooting URL: https://docs .langchain.com/oss/javascript/langchain /errors/${ lc_error_code } /\n` ;
2121 return error ;
2222}
2323
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ export function addLangChainErrorFields(
1616 lc_error_code : LangChainErrorCodes
1717) {
1818 ( error as any ) . lc_error_code = lc_error_code ;
19- error . message = `${ error . message } \n\nTroubleshooting URL: https://js .langchain.com/docs/troubleshooting /errors/${ lc_error_code } /\n` ;
19+ error . message = `${ error . message } \n\nTroubleshooting URL: https://docs .langchain.com/oss/javascript/langchain /errors/${ lc_error_code } /\n` ;
2020 return error ;
2121}
You can’t perform that action at this time.
0 commit comments