Skip to content

Commit

Permalink
Merge pull request #297 from WolframResearch/296-evaluating-a-large-i…
Browse files Browse the repository at this point in the history
…nput-throws-an-internal-error-when-assistance-is-enabled

Fix large input throwing an internal error when assistance is enabled
  • Loading branch information
rhennigan authored Jul 27, 2023
2 parents e1b43d1 + 95c684c commit 2e01857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PacletInfo.wl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PacletObject[<|
"Name" -> "Wolfram/Chatbook",
"PublisherID" -> "Wolfram",
"Version" -> "1.1.1",
"Version" -> "1.1.2",
"WolframVersion" -> "13.2+",
"Description" -> "Wolfram Notebooks + LLMs",
"License" -> "MIT",
Expand Down
1 change: 1 addition & 0 deletions Source/Chatbook/Actions.wl
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,7 @@ toolResponseString // endDefinition;
(*toolFreeQ*)
toolFreeQ // beginDefinition;
toolFreeQ[ KeyValuePattern[ "FullContent" -> s_ ] ] := toolFreeQ @ s;
toolFreeQ[ _ProgressIndicator ] := True;
toolFreeQ[ s_String ] := ! MatchQ[ toolRequestParser @ s, { _, _LLMToolRequest|_Failure } ];
toolFreeQ // endDefinition;

Expand Down

0 comments on commit 2e01857

Please sign in to comment.