How the agent uses the system variable sys.user_id #14166
jiandanfeng
started this conversation in
General
Replies: 2 comments 1 reply
-
You can set this variable in the tool settings to turn off the automatic function provided in the 1.0 version by the official agent strategy tool selector panel. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The way I currently use it is to put the API calls in the workflow, because the workflow has sys.user_id, and then publish the workflow as a tool, but it is more cumbersome |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
Content
We call the agent through the api, where the user parameter passed in the api should be used as the imported parameter of the calling tool (assuming the tool name is getcode) in the agent, such as getcode (user), the agent should get this user and use it as the imported parameter of getcode
Beta Was this translation helpful? Give feedback.
All reactions