Skip to content

Commit da190af

Browse files
committed
Update agent.js
1 parent e105e74 commit da190af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

agent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const runAgent = async (messages) => {
1919

2020
// Response schema focused on actions
2121
const responseSchema = z.object({
22-
message: z.string().describe("Agent's message to the user"),
22+
message: z.string().describe("Agent's response message to the user"),
2323
user_profile: z.string().describe(
2424
"Concise but comprehensive profile of the user in natural language. Always consider the full conversation and final context. Include:" +
2525
"\n- Current work and role" +
@@ -52,7 +52,7 @@ export const runAgent = async (messages) => {
5252
let agentPromptText = agentPrompt.promptMessages[0].prompt.template;
5353

5454
const aiResponse = await openai.chat.completions.create({
55-
model: "o3-mini",
55+
model: "o1",
5656
reasoning_effort: "medium",
5757
messages: [{ role: "system", content: agentPromptText }, ...messages],
5858
response_format: zodResponseFormat(responseSchema, "response"),

0 commit comments

Comments
 (0)