outputing response to logs
This commit is contained in:
parent
fb49fe3643
commit
0f15715e26
1 changed files with 2 additions and 1 deletions
|
@ -43,8 +43,9 @@ class KagiSkill(FallbackSkill):
|
|||
data=js_data,
|
||||
headers=header_content,
|
||||
verify=False)
|
||||
self.log.error(f'received: {response.text}')
|
||||
json_data = json.loads(response.text)
|
||||
dirty_response = json_data["data"]["output"];
|
||||
dirty_response = json_data["data"]["output"]
|
||||
# TODO: remove [n] reference tokens
|
||||
self.speak(dirty_response)
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue