Skip to content

Commit

Permalink
Merge pull request #166 from WolframResearch/165-suggestion-tool-resp…
Browse files Browse the repository at this point in the history
…onses-should-be-openable-by-clicking-anywhere-on-the-label

Set `Method -> "Active"` for inline tool responses
  • Loading branch information
rhennigan authored Jun 12, 2023
2 parents 141d116 + ac4162c commit d18774d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
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" -> "0.0.24",
"Version" -> "0.0.25",
"WolframVersion" -> "13.2+",
"Description" -> "Wolfram Notebooks + LLMs",
"License" -> "MIT",
Expand Down
8 changes: 5 additions & 3 deletions Source/Chatbook/Formatting.wl
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ makeToolCallBoxLabel[ as_Association, name_String ] :=

makeToolCallBoxLabel[ as_, name_String, icon_ ] /; $dynamicText := makeToolCallBoxLabel0[ as, name, icon ];

makeToolCallBoxLabel[ as_, name_String, icon_ ] :=
OpenerView @ {
makeToolCallBoxLabel[ as_, name_String, icon_ ] := OpenerView[
{
makeToolCallBoxLabel0[ as, name, icon ],
Column[
{
Expand All @@ -530,7 +530,9 @@ makeToolCallBoxLabel[ as_, name_String, icon_ ] :=
},
Alignment -> Left
]
};
},
Method -> "Active"
];

makeToolCallBoxLabel // endDefinition;

Expand Down

0 comments on commit d18774d

Please sign in to comment.