Skip to content

Commit fa9f06e

Browse files
committed
FunctionNames should only exist for connectors with tools
1 parent 4bd315c commit fa9f06e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

+llms/+internal/hasTools.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
% Copyright 2023-2024 The MathWorks, Inc.
55

6+
properties (SetAccess=protected)
7+
%FunctionNames Names of the functions that the model can request calls
8+
FunctionNames
9+
end
10+
611
properties (Access=protected)
712
Tools
813
FunctionsStruct

+llms/+internal/textGenerator.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
%TimeOut Connection timeout in seconds (default 10 secs)
1919
TimeOut
2020

21-
%FunctionNames Names of the functions that the model can request calls
22-
FunctionNames
23-
2421
%SystemPrompt System prompt.
2522
SystemPrompt = []
2623

0 commit comments

Comments
 (0)