Skip to content

Commit e284a46

Browse files
update model names
1 parent c7e2b20 commit e284a46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/langchain/src/agents/responses.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ export function toolStrategy(
462462
* import { z } from "zod";
463463
*
464464
* const agent = createAgent({
465-
* model: "gpt-3.5-turbo",
465+
* model: "claude-haiku-4-5",
466466
* responseFormat: toolStrategy(
467467
* z.object({
468468
* answer: z.string(),
@@ -476,7 +476,7 @@ export function toolStrategy(
476476
* ```ts
477477
* // Multiple schemas - model can choose which one to use
478478
* const agent = createAgent({
479-
* model: "gpt-3.5-turbo",
479+
* model: "claude-haiku-4-5",
480480
* responseFormat: toolStrategy([
481481
* z.object({ name: z.string(), age: z.number() }),
482482
* z.object({ email: z.string(), phone: z.string() }),
@@ -517,7 +517,7 @@ export function toolStrategy(
517517
* import { z } from "zod";
518518
*
519519
* const agent = createAgent({
520-
* model: "gpt-4o",
520+
* model: "claude-haiku-4-5",
521521
* responseFormat: providerStrategy(
522522
* z.object({
523523
* answer: z.string().describe("The answer to the question"),
@@ -531,7 +531,7 @@ export function toolStrategy(
531531
* ```ts
532532
* // Using strict mode for stricter schema enforcement
533533
* const agent = createAgent({
534-
* model: "gpt-4o",
534+
* model: "claude-haiku-4-5",
535535
* responseFormat: providerStrategy({
536536
* schema: z.object({
537537
* name: z.string(),

0 commit comments

Comments
 (0)