diff --git a/examples/src/llms/googlevertexai-code-bison.ts b/examples/src/llms/googlevertexai-code-bison.ts index 554cd28665f5..8e9f9e778276 100644 --- a/examples/src/llms/googlevertexai-code-bison.ts +++ b/examples/src/llms/googlevertexai-code-bison.ts @@ -15,7 +15,7 @@ import { GoogleVertexAICode } from "langchain/llms/googlevertexai"; export const run = async () => { const model = new GoogleVertexAICode({ model: "code-bison", - maxOutputTokens: 2048 + maxOutputTokens: 2048, }); const res = await model.call( "A Javascript function that counts from 1 to 10." diff --git a/examples/src/llms/googlevertexai-code-gecko.ts b/examples/src/llms/googlevertexai-code-gecko.ts index 79d644ca2822..efe8561b4cce 100644 --- a/examples/src/llms/googlevertexai-code-gecko.ts +++ b/examples/src/llms/googlevertexai-code-gecko.ts @@ -14,8 +14,6 @@ import { GoogleVertexAICode } from "langchain/llms/googlevertexai"; */ export const run = async () => { const model = new GoogleVertexAICode(); - const res = await model.call( - "for (let co=0;" - ); + const res = await model.call("for (let co=0;"); console.log({ res }); }; diff --git a/langchain/src/llms/googlevertexai.ts b/langchain/src/llms/googlevertexai.ts index b3f10527a4a7..d1acb671b627 100644 --- a/langchain/src/llms/googlevertexai.ts +++ b/langchain/src/llms/googlevertexai.ts @@ -140,7 +140,6 @@ export class GoogleVertexAI extends BaseLLM implements GoogleVertexAITextInput { * Google Cloud project using Vertex AI. */ export class GoogleVertexAICode extends GoogleVertexAI { - model = "code-gecko"; temperature = 0.2;