Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(vfox clink): clink coroutine execution failed #410

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

jan-bar
Copy link
Contributor

@jan-bar jan-bar commented Feb 13, 2025

In clink v1.7.8, when coroutine.resume(vfox_task) is used to resume the coroutine, the internal command cannot be executed successfully.

fix: #408

In clink v1.7.8, when coroutine.resume(vfox_task) is used to resume the coroutine, the internal command cannot be executed successfully.
@bytemain
Copy link
Member

需要判断一下 clink 新版或者旧版吗?新的代码在旧版上可以跑吗?

@jan-bar
Copy link
Contributor Author

jan-bar commented Feb 13, 2025

需要判断一下 clink 新版或者旧版吗?新的代码在旧版上可以跑吗?

一般也不会有人坚持用旧版吧,我看用到的3个方法支持版本都挺早的,这次改动只是把唤醒协程方法从 coroutine.resume 改为 clink.runcoroutineuntilcomplete ,我看 clink 文档 v1.3.5 之后有大量变更,所以我感觉可以不用考虑太旧版本了。

clink.runcoroutineuntilcomplete v1.3.5
clink.promptfilter v1.0.0
clink.promptcoroutine v1.2.10

由于 setdelayinit 方法是 v1.3.10 添加的,我在 v1.3.10 版本上测试通过了。

@jan-bar jan-bar merged commit e1f3f56 into version-fox:main Feb 14, 2025
@jan-bar jan-bar deleted the clink_vfox branch February 14, 2025 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: clink 最新版 vfox 切换失效
2 participants