Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki committed Dec 29, 2024
1 parent badf7ce commit 6e954bc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/agents/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ import { loadWikipediaAgent } from "./wikipedia";
import fs from "node:fs/promises";
import { ChatOllama } from "@langchain/ollama";

const model = new ChatOllama({
model: "qwen2.5:7b",
temperature: 0,
});

// This defines the object that is passed between each node
// in the graph. We will create different nodes for each agent and tool
const AgentState = Annotation.Root({
Expand All @@ -21,11 +26,6 @@ const AgentState = Annotation.Root({
}),
});

const model = new ChatOllama({
model: "qwen2.5:7b",
temperature: 0,
});

const members = ["wikipedia_researcher"] as const;

const wikipediaResearcherNode = async (
Expand Down

0 comments on commit 6e954bc

Please sign in to comment.