diff --git a/libs/langchain-baidu-qianfan/src/chat_models.ts b/libs/langchain-baidu-qianfan/src/chat_models.ts index 8b46c038205d..5d417146f583 100644 --- a/libs/langchain-baidu-qianfan/src/chat_models.ts +++ b/libs/langchain-baidu-qianfan/src/chat_models.ts @@ -72,11 +72,11 @@ declare interface BaiduQianfanChatInput { /** * Model name to use. Available options are: ERNIE-Bot, ERNIE-Lite-8K, ERNIE-Bot-4 * Alias for `model` - * @default "ERNIE-Lite-8K" + * @default "ERNIE-Bot-turbo" */ modelName: string; /** Model name to use. Available options are: ERNIE-Bot, ERNIE-Lite-8K, ERNIE-Bot-4 - * @default "ERNIE-Lite-8K" + * @default "ERNIE-Bot-turbo" */ model: string; diff --git a/libs/langchain-baidu-qianfan/src/tests/chat_models.int.test.ts b/libs/langchain-baidu-qianfan/src/tests/chat_models.int.test.ts index edb7420b6fac..e85156379523 100644 --- a/libs/langchain-baidu-qianfan/src/tests/chat_models.int.test.ts +++ b/libs/langchain-baidu-qianfan/src/tests/chat_models.int.test.ts @@ -9,7 +9,7 @@ test("invoke", async () => { }); const message = new HumanMessage("北京天气"); const res = await chat.invoke([message]); - console.log(res.content); + // console.log(res.content); expect(res.content.length).toBeGreaterThan(10); }); @@ -20,6 +20,6 @@ test("invokeWithStream", async () => { }); const message = new HumanMessage("等额本金和等额本息有什么区别?"); const res = await chat.invoke([message]); - console.log({ res }); + // console.log({ res }); expect(res.content.length).toBeGreaterThan(10); });