🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
Display size of json objects (#269)
Marc Klingenf80892c9eae9
diff --git a/package-lock.json b/package-lock.jsonindex 2f902f4615..e317c715d0 100644--- a/package-lock.json+++ b/package-lock.json@@ -66,7 +66,7 @@"react-dom": "18.2.0","react-hook-form": "^7.46.2","react-icons": "^4.11.0",- "react18-json-view": "^0.2.5",+ "react18-json-view": "^0.2.6-canary.2","sharp": "^0.32.6","superagent": "^8.1.2","superjson": "1.13.1",@@ -11915,9 +11915,9 @@}},"node_modules/react18-json-view": {- "version": "0.2.5",- "resolved": "https://registry.npmjs.org/react18-json-view/-/react18-json-view-0.2.5.tgz",- "integrity": "sha512-BiCWyRUCVbnaK4kfNay8crOXZnWsZ6XsnY3fwOf5C+ZaY9w9FSTawo2p+h2UG/KcDP8meZuGlkP95klfFG9GfQ==",+ "version": "0.2.6-canary.2",+ "resolved": "https://registry.npmjs.org/react18-json-view/-/react18-json-view-0.2.6-canary.2.tgz",+ "integrity": "sha512-b/e5j+tamI90+BHp/9XH7e9JqyTjtKbqU/ysO0+t02qjzb8KVMp1mj4GE+ZJwlD2vVELhnMfQenaLUrgT7SQyw==","peerDependencies": {"react": ">=16.8.0"}diff --git a/package.json b/package.jsonindex 0218e09bf2..b58aa3ac5f 100644--- a/package.json+++ b/package.json@@ -79,7 +79,7 @@"react-dom": "18.2.0","react-hook-form": "^7.46.2","react-icons": "^4.11.0",- "react18-json-view": "^0.2.5",+ "react18-json-view": "^0.2.6-canary.2","sharp": "^0.32.6","superagent": "^8.1.2","superjson": "1.13.1",diff --git a/src/components/ui/code.tsx b/src/components/ui/code.tsxindex 22ee33cadd..7286fb4c67 100644--- a/src/components/ui/code.tsx+++ b/src/components/ui/code.tsx@@ -22,6 +22,7 @@ export function JSONView(props: {theme="github"collapseObjectsAfterLength={20}collapseStringsAfterLength={500}+ displaySize={true}/></div></div>