File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments