Commit 11bc0e0
committed
Add function to convert to a dictionary
Anthropic returns the input dictionary for the tool as a string.
Adding a function to attempt to convert it to a dict if it is a string, if conversion fails, returns the string1 parent 4998d0a commit 11bc0e0
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | | - | |
| 660 | + | |
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
0 commit comments