(json, key)
| 24 | args = parser.parse_args() |
| 25 | |
| 26 | def is_present(json, key): |
| 27 | try: |
| 28 | buf = json[key] |
| 29 | except KeyError: |
| 30 | return False |
| 31 | if json[key] == None: |
| 32 | return False |
| 33 | return True |
| 34 | |
| 35 | #convert chat to prompt |
| 36 | def convert_chat(messages): |
no outgoing calls
no test coverage detected