Skip to content

Commit e8eafda

Browse files
committed
Added AIMODEL.tool(content, [merge]) method.
Signed-off-by: petersirka <petersirka@gmail.com>
1 parent 5588412 commit e8eafda

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

aimodel.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ AI.prototype.assistant = function(content, merge) {
7878
return this.message('assistant', content, merge);
7979
};
8080

81+
AI.prototype.tool = function(content, merge) {
82+
return this.message('tool', content, merge);
83+
};
84+
8185
AI.prototype.promise = function($) {
8286
const t = this;
8387
return new Promise(function(resolve, reject) {

0 commit comments

Comments
 (0)