Skip to content

Commit

Permalink
readme tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyhb committed Dec 6, 2024
1 parent 56cf929 commit 4ce0c98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A networked agent:
// to solve a specific task.
const network = createNetwork({
agents: [navigator, classifier, summarizer],
defaultModel: agenticOpenai({ model: "gpt-4o", step }),
defaultModel: openai({ model: "gpt-4o", step }),
});

const input = `Classify then summarize the latest 10 blog posts
Expand All @@ -46,7 +46,7 @@ const writer = createAgent({
name: "writer",
system:
"You are an expert writer. You write readable, concise, simple content.",
model: agenticOpenai({ model: "gpt-4o", step }),
model: openai({ model: "gpt-4o", step }),
});

const { output } = await writer.run(
Expand Down

0 comments on commit 4ce0c98

Please sign in to comment.