Skip to content

Commit

Permalink
Merge pull request #284 from WolframResearch/283-copy-as-chatobject-i…
Browse files Browse the repository at this point in the history
…s-giving-a-dataset

Fix 'Copy as ChatObject' menu item so it doesn't return a `Dataset`
  • Loading branch information
rhennigan authored Jul 24, 2023
2 parents 98d7422 + 4141148 commit 5da8a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Chatbook/Actions.wl
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ EvaluateChatInput // endDefinition;
blockChatObject // beginDefinition;
blockChatObject // Attributes = { HoldFirst };
blockChatObject[ eval_ ] /; Quiet @ PacletNewerQ[ PacletObject[ "Wolfram/LLMFunctions" ], "1.1.0" ] := eval;
blockChatObject[ eval_ ] := Block[ { System`ChatObject = delayedChatObject, delayedChatObject }, eval ];
blockChatObject[ eval_ ] := Block[ { chatObject = delayedChatObject, delayedChatObject }, eval ];
blockChatObject // endDefinition;

(* ::**************************************************************************************************************:: *)
Expand Down

0 comments on commit 5da8a69

Please sign in to comment.