Skip to content

Commit

Permalink
Merge pull request #493 from WolframResearch/492-default-value-for-to…
Browse files Browse the repository at this point in the history
…ol-displayname-property-evaluates-too-early

Bugfix: Fix internal failure for custom tools in 1.3.3
  • Loading branch information
rhennigan authored Dec 11, 2023
2 parents e812774 + b2ca94f commit f12fb6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PacletInfo.wl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PacletObject[ <|
"Name" -> "Wolfram/Chatbook",
"PublisherID" -> "Wolfram",
"Version" -> "1.3.3",
"Version" -> "1.3.4",
"WolframVersion" -> "13.3+",
"Description" -> "Wolfram Notebooks + LLMs",
"License" -> "MIT",
Expand Down
5 changes: 4 additions & 1 deletion Source/Chatbook/Tools.wl
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,10 @@ makeToolPrompt[ settings_Association ] := $lastToolPrompt = TemplateObject[
"Tool Name: ",
TemplateSlot[ "Name" ],
"\nDisplay Name: ",
TemplateSlot[ "DisplayName", DefaultValue :> toDisplayToolName @ TemplateSlot[ "Name" ] ],
TemplateSlot[
"DisplayName",
DefaultValue :> TemplateExpression @ toDisplayToolName @ TemplateSlot[ "Name" ]
],
"\nDescription: ",
TemplateSlot[ "Description" ],
"\nSchema:\n",
Expand Down

0 comments on commit f12fb6f

Please sign in to comment.