API 扩展能从页面传入自定义信息 #3571
Closed
lhysrc
started this conversation in
Suggestion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
当发布了应用后,希望不同会话的可将自定义参数传递到API扩展中,比如在请求体的 params 添加一个属性记录。
我的想法是从嵌入页的 url query params 中添加自定义参数:https://udify.app/chat/XXX?name=value
则将 { name: value } 传输给API扩展。
另:希望能自定义用户标识,即在日志中显示的用户UUID信息。
Beta Was this translation helpful? Give feedback.
All reactions