File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ var tools = map[string]types.Tool{
114
114
Parameters : types.Parameters {
115
115
Description : "Concludes the conversation. This can not be used to ask a question." ,
116
116
Arguments : types .ObjectSchema (
117
- "summary " , "A summary of the dialog" ,
117
+ "return " , "The instructed value to return or a summary of the dialog if no value is instructed " ,
118
118
),
119
119
},
120
120
BuiltinFunc : SysChatFinish ,
@@ -640,7 +640,7 @@ func (e *ErrChatFinish) Error() string {
640
640
641
641
func SysChatFinish (ctx context.Context , env []string , input string ) (string , error ) {
642
642
var params struct {
643
- Message string `json:"summary ,omitempty"`
643
+ Message string `json:"return ,omitempty"`
644
644
}
645
645
if err := json .Unmarshal ([]byte (input ), & params ); err != nil {
646
646
return "" , & ErrChatFinish {
You can’t perform that action at this time.
0 commit comments