Skip to content

Commit 874023b

Browse files
committed
Increase chat model from low to medium cost
1 parent 798f370 commit 874023b

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

agents/chat/src/index.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ export default class ChatAgent extends Agent<ChatAgent> {
1818
plot: build(Plot, {
1919
activity: {
2020
access: ActivityAccess.Respond,
21-
intents: [{
22-
description: "Respond to general questions and requests",
23-
examples: [
24-
"What's the weather like?",
25-
"Can you help me plan my day?",
26-
"Write me a summary of this article"
27-
],
28-
handler: this.responsd,
29-
}],
21+
intents: [
22+
{
23+
description: "Respond to general questions and requests",
24+
examples: [
25+
"What's the weather like?",
26+
"Can you help me plan my day?",
27+
"Write me a summary of this article",
28+
],
29+
handler: this.responsd,
30+
},
31+
],
3032
},
3133
}),
3234
};
@@ -93,7 +95,7 @@ You can also create tasks, but should only do so when the user explicitly asks y
9395
});
9496

9597
const response = await this.tools.ai.prompt({
96-
model: { speed: "balanced", cost: "low" },
98+
model: { speed: "balanced", cost: "medium" },
9799
messages,
98100
outputSchema: schema,
99101
});

0 commit comments

Comments
 (0)