我正在尝试通过 Google Actions 的 codelabs 教程并遇到一些麻烦。我在“为助手构建操作(级别 2)”。
当我尝试在模拟器中测试操作时,我收到“我的测试应用程序现在没有响应。请稍后再试。”
请求或响应选项卡中没有任何内容。这是调试选项卡的输出:
{
"response": "My test app isn't responding right now. Try again soon.",
"expectUserResponse": false,
"conversationToken": "EvwCS2o5Wk...",
"audioResponse": "//NExAASeH...",
"ssmlMarkList": [],
"debugInfo": {
"sharedDebugInfoList": []
},
"visualResponse": {
"visualElementsList": [
{
"displayText": {
"content": "My test app isn't responding right now. Try again soon."
}
}
],
"suggestionsList": [],
"agentLogoUrl": ""
},
"clientError": 0,
"is3pResponse": true,
"clientOperationList": [],
"projectName": ""
}
Run Code Online (Sandbox Code Playgroud)
我的代码:
'use strict';
// Import the Dialogflow module from the Actions …Run Code Online (Sandbox Code Playgroud)