framely / community

MIT License
0 stars 2 forks source link

[Bug]: Slot is refilled somehow after being cleared #1321

Closed hisunnymay closed 1 year ago

hisunnymay commented 1 year ago

Is there an existing issue for this?

Make sure you are using OpenCUI on Google Chrome!

Current Behavior

在 Transition 中,已经被 clear 的 slot 会自动被重新填上之前的值

image

Expected Behavior

在 Transition 中,已经被 clear 的 slot 不应该自动被重新填上之前的值

Use Case

对应 Message validation 中 happy path 的第三个 “验证码过期,询问是否重发”

Steps To Reproduce

  1. 进入 test_sendMessage
  2. 输入 test,然后再输入任意手机号
  3. 点击 view log,搜索 "//DEBUG",找到 generated code 的值
  4. 等待 90s 之后,输入该值
  5. 回复 yes 后可以看到已经被 clear 的 slot 又被自动 fill 了之前的值

Label of org.project

/

OpenCUI Link

https://build.opencui.io/org/me.test/agent/test_sendMessage/en/intent/6509b725eefe7fd4a46911c3/state_update/650ac03eda212f5fa863a30a

Test Case

No response

Additional information

No response

hisunnymay commented 1 year ago

The use case has changed, close for now