Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jan 7, 2025
1 parent 86eab64 commit c92d4d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/agents/shared/nodes/verify-github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ ${LANGCHAIN_PRODUCTS_CONTEXT}
{repoDependenciesPrompt}
Given this context, examine the {file_type} closely, and determine if the repository implements LangChain's products.
You should provide reasoning as to why or why not the repository implements LangChain's products, then a simple true or false for whether or not it implements some.`;
You should provide reasoning as to why or why not the repository implements LangChain's products, then a simple true or false for whether or not it implements some.
Always call the 'relevancy' tool to respond.`;

const getDependencies = async (
githubUrl: string,
Expand Down
2 changes: 1 addition & 1 deletion src/agents/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ export async function getModelFromConfig(
if (model.startsWith("gemini-")) {
return initChatModel(model, {
modelProvider: "google-vertexai-web",
apiKey: process.env.GOOGLE_VERTEX_AI_WEB_CREDENTIALS,
// apiKey: process.env.GOOGLE_VERTEX_AI_WEB_CREDENTIALS,
...modelArgs,
}) as unknown as ChatVertexAI;
}
Expand Down

0 comments on commit c92d4d6

Please sign in to comment.