Skip to content

Commit

Permalink
Merge pull request #881 from WolframResearch/feature/LLM-677_Implemen…
Browse files Browse the repository at this point in the history
…tUpdatedToolCallDesign

Updated tool call design
  • Loading branch information
rhennigan authored Nov 2, 2024
2 parents e930a55 + d596574 commit 3dd6137
Show file tree
Hide file tree
Showing 17 changed files with 912 additions and 3,227 deletions.
Binary file modified Assets/DisplayFunctions.wxf
Binary file not shown.
Binary file modified Assets/Icons.wxf
Binary file not shown.
10 changes: 5 additions & 5 deletions Developer/Resources/Styles.wl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Cell[
(*Text*)


(*
(*
In 14.1, Chatbook.nb inherits from Default.nb, but in 14.2, chat styles are in CoreExtensions.nb only.
"Text" is defined in Default.nb, so include what we need from it so it looks correct. *)
Cell[
Expand Down Expand Up @@ -560,7 +560,7 @@ Cell[
(*ChatCode*)


(*
(*
14.2 CoreExtensions: most important parts of Input are defined in Core.nb. Only the CellEpliog is missing for chat functionality.
There is no impact on 14.1 chatbooks because Input already adds CellEpilog, so duplicating it here has no effect. *)
Cell[
Expand All @@ -574,10 +574,10 @@ Cell[
ShowSyntaxStyles -> True,

CellEpilog :> With[ { Wolfram`ChatNB`cell = (FinishDynamic[]; EvaluationCell[]) },
Quiet[ Needs[ "Wolfram`Chatbook`" -> None ] ];
Quiet[ Needs[ "Wolfram`Chatbook`" -> None ] ];
Symbol[ "Wolfram`Chatbook`ChatbookAction" ][ "AIAutoAssist", Wolfram`ChatNB`cell ]
]

]


Expand Down Expand Up @@ -1443,7 +1443,7 @@ Cell[
]
},
Dynamic @ Typeset`open$$,
ImageMargins -> 10,
ImageMargins -> { { 0, 0 }, { 8, 8 } },
ImageSize -> Automatic,
Alignment -> Left,
ContentPadding -> False
Expand Down
Loading

0 comments on commit 3dd6137

Please sign in to comment.