Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

耗时长任务回复请求超时,希望使用userId或者groupId去找到唯一对象发送消息 #137

Open
bystart opened this issue Jan 18, 2024 · 11 comments
Labels
enhancement New feature or request

Comments

@bystart
Copy link

bystart commented Jan 18, 2024

给指定用户昵称发送消息是否会重复,如果存在相同昵称的用户是如何处理的

@danni-cool
Copy link
Owner

#135

@bystart
Copy link
Author

bystart commented Jan 18, 2024

能否增加通过userid回复和groupid

@danni-cool
Copy link
Owner

需要用到userid和groupid的场景多吗

@bystart
Copy link
Author

bystart commented Jan 18, 2024

是这样的 我发现这个如果消息处理超时了,直接对接受的请求进行回复会丢失消息 只能在消息处理完后主动推送消息到机器人服务上,但是如果昵称重复 会导致回复不到争取的人上

@bystart
Copy link
Author

bystart commented Jan 18, 2024

60s 那应该足够了 ,目前对接gpt出现了回复失败的问题,我再优化一下吧

@danni-cool
Copy link
Owner

这种情况下,userid 或者groupid推送应该合理,耗时的长任务不可能一直等待,还是推荐用推消息api去异步化这个流程,等下个个版本更新吧

@danni-cool danni-cool added the enhancement New feature or request label Jan 18, 2024
@bystart
Copy link
Author

bystart commented Jan 18, 2024

好的 感谢大佬

@bystart bystart closed this as completed Jan 18, 2024
@danni-cool danni-cool changed the title 给指定用户昵称发送消息是否会重复 耗时长任务回复请求超时,希望使用userId或者groupId去找到唯一对象发送消息 Jan 18, 2024
@danni-cool danni-cool reopened this Jan 18, 2024
@danni-cool
Copy link
Owner

还是有意义的提案,先打开了

@danni-cool danni-cool mentioned this issue Feb 4, 2024
16 tasks
@danni-cool danni-cool linked a pull request Feb 4, 2024 that will close this issue
16 tasks
@danni-cool danni-cool removed a link to a pull request Feb 19, 2024
16 tasks
@danni-cool danni-cool linked a pull request Feb 24, 2024 that will close this issue
16 tasks
@danni-cool danni-cool removed a link to a pull request Mar 1, 2024
16 tasks
@UnknowZang
Copy link

请教推送api里id字段与wx_id的转换方式

@danni-cool
Copy link
Owner

请教推送api里id字段与wx_id的转换方式

web协议不支持 wx_id 获取,所以 api 里的 id 只是临时的

@UnknowZang
Copy link

请教推送api里id字段与wx_id的转换方式

web协议不支持 wx_id 获取,所以 api 里的 id 只是临时的

好的,谢谢

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants