You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tejesh4034
changed the title
[BUG] <Issue Summary Here> Not able to call the agent in a particular environment
[BUG] Not able to call the detect_intent in a particular environment
Dec 10, 2024
Expected Behavior
I should be able to call the agent in a particular environment
Current Behavior
I can specify a environment, when I did it throws me an error
Possible Solution
Steps to Reproduce
Context (Environment)
Detailed Description
s = Sessions()
s = Sessions(agent_id=agent_id)
session_id = s.build_session_id(agent_id).split("/sessions/")[-1]
session_url_with_environment = agent_id + '/environments//sessions/'+session_id
res = s.detect_intent(agent_id, session_url_with_environment, "hello")
Error: ValueError: Session ID must be provided in the following format: projects//locations//agents//sessions/.
Possible Implementation
The text was updated successfully, but these errors were encountered: