(arguments_str)
| 88 | import json |
| 89 | |
| 90 | def extract_code_from_arguments(arguments_str): |
| 91 | try: |
| 92 | arguments_dict = json.loads(arguments_str) |
| 93 | return arguments_dict.get("code", "") |
| 94 | except json.JSONDecodeError: |
| 95 | return "" |
| 96 | |
| 97 | def fc2dict(sequence: str, spliter="<|tool_call|>"): |
| 98 | if spliter in sequence: |
nothing calls this directly
no outgoing calls
no test coverage detected