Skip to content

Commit

Permalink
Use mini instead of full 4o
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Sep 24, 2024
1 parent aebad4a commit dceb48f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/ai_sdk/agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Next, inside our function we'll define our chat model of choice:

```typescript action.ts
const llm = new ChatOpenAI({
model: "gpt-4o-2024-05-13",
model: "gpt-4o-mini",
temperature: 0,
});
```
Expand Down
2 changes: 1 addition & 1 deletion app/ai_sdk/agent/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export async function runAgent(input: string) {
);

const llm = new ChatOpenAI({
model: "gpt-4o-2024-05-13",
model: "gpt-4o-mini",
temperature: 0,
});

Expand Down
2 changes: 1 addition & 1 deletion app/ai_sdk/tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ For the main logic, we'll wrap it in an async function. Start by defining our pr
]);

const llm = new ChatOpenAI({
model: "gpt-4o-2024-05-13",
model: "gpt-4o-mini",
temperature: 0,
});

Expand Down
2 changes: 1 addition & 1 deletion app/ai_sdk/tools/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function executeTool(
]);

const llm = new ChatOpenAI({
model: "gpt-4o-2024-05-13",
model: "gpt-4o-mini",
temperature: 0,
});

Expand Down

0 comments on commit dceb48f

Please sign in to comment.