-
Notifications
You must be signed in to change notification settings - Fork 281
context name in agent.context object always '-' when used with environments #187
Comments
Here's an example of workarounds that you can add in your index.js meanwhile.
|
Thanks for the report! This will be fixed in 0.6.2 |
omg... In case it's of any use, here's my session when testing a draft version of AOG: (which does work) And here's the session that arrives when the review team is trying to test my submitted version: (which fails miserably) This is what's causing my bot to be rejected by AOG review team... once, and again... :-/ |
Any estimates when dialogflow-fulfillment-nodejs will be working with nodejs-dialogflow lib using v2.beta1? |
Correct me if I'm wrong, but I think there hasn't been an update in over 7 months. I've been struggling for the past week with random issues, inconsistent documentation, and much sadness over my inability to get this library to work. I really want to get DialogFlow to work for my needs, but it hasn't been too promising. |
Any update on this bug? |
any update on this? |
I'm also keen to get this resolved, especially when the pull request for the fix had a positive comment from Google on 29th November 2018!
Is an easy fix, but just in case people didn't want to waste additional time. |
Fixed ? |
folks - any updates on this issue? We are facing the same problem |
This PR should fix the bug but it does not get merged #189 |
Wow, the PR is still open... what are they waiting for? |
Hey!
I came across this bug as I managed my agent with environments.
Upon building the contexts in the v2-agents context object the name is set as the substring after the sixth slash.
In cases where the v2InputContexts name includes an environment, the name is build like this:
projects/projectname/agent/environments/environmentname/users/-/sessions/123456/contextname
and the name always turns out to be '-', as that is now the substring after the sixth slash x)
The issue is that none of the actual contexts are stored in agent.context when requesting a specific environment.
The text was updated successfully, but these errors were encountered: