Skip to content

Commit c757b99

Browse files
committed
Changed output of preview to match what is expected by Lambda Feedback
1 parent 9d9cfa3 commit c757b99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

preview.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@
1616
(* Declare package context *)
1717
BeginPackage["preview`"]
1818

19+
(*TODO: Add error handling and check how it works with Lambda Feedback, check Phil's email on error handling*)
1920
PreviewFunction[response_] := Module[{result},
2021
Print["Running Preview Function"];
2122
Print["Preview Input:", response];
2223
<|
2324
"command" -> "preview",
2425
"result" -> <|
2526
"preview" -> <|
26-
"message" -> response
27+
"latex" -> response,
28+
"sympy" -> response
2729
|>
2830
|>
2931
|>

0 commit comments

Comments
 (0)