-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: Add data visualization for Anthropic #432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
daf2d54
b132ff4
7b0bfe9
cf4737b
55e9d64
047948a
3ba98b2
ad07bae
a0e3686
61118dd
e71f852
933d21a
aef7822
be0b486
662faeb
4a87df9
4ae8eb9
1af24dc
b2355de
5b31638
f19b58a
5aaf420
72b503f
7a4a0f4
0783625
bbd51e8
cb7b2d3
fe47253
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,7 +197,7 @@ async def handle_call_tool( | |
| with open(os.devnull, "w") as fnull: | ||
| with redirect_stdout(fnull), redirect_stderr(fnull): | ||
| try: | ||
| await cognee.visualize | ||
| await cognee.visualize() | ||
| img = get_freshest_png(".") | ||
|
||
| return types.Image(data=img.tobytes(), format="png") | ||
| except (FileNotFoundError, IOError, ValueError) as e: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should
visualizereceive the parameter where to put the image it generates? Then we can send that path toget_freshest_pngto retrieve the image.