Skip to content

Commit 6d3d79b

Browse files
committed
Merge branch 'feat-frontend-jsonrpc' of https://github.com/PaperDebugger/paperdebugger into feat-frontend-jsonrpc
2 parents 7208e15 + f0f4342 commit 6d3d79b

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

webapp/_webapp/src/components/message-entry-container/tools/jsonrpc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const JsonRpc = ({ functionName, jsonRpcResult, preparing, animated }: Js
5858
{jsonRpcResult.result && (
5959
<div className="text-xs">
6060
<MarkdownComponent animated={animated}>
61-
{jsonRpcResult.result.content?.map((content) => content.text).join("\\n") || ""}
61+
{jsonRpcResult.result.content?.map((content) => content.text).join("\n") || ""}
6262
</MarkdownComponent>
6363
</div>
6464
)}

webapp/_webapp/src/components/message-entry-container/tools/tools.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ console.log("error: ", error);
3939
console.log("preparing: ", preparing);
4040
console.log("animated: ", animated);
4141
const jsonRpcResult = parseJsonRpcResult(message);
42-
console.log("jsonRpcResult: ", jsonRpcResult);
4342

4443
if (functionName === "paper_score") {
4544
return <PaperScoreCard message={message} preparing={preparing} animated={animated} />;

webapp/_webapp/src/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ body {
106106
}
107107

108108
.tool-card-title.tool-card-jsonrpc {
109-
@apply font-medium text-gray-500 ;
109+
@apply font-medium text-gray-500;
110110
}
111111

112112

0 commit comments

Comments
 (0)