mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
Update pkg/channels/wecom/aibot.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@ type streamTask struct {
|
|||||||
ResponseURL string // temporary URL for proactive reply (valid 1 hour, use once)
|
ResponseURL string // temporary URL for proactive reply (valid 1 hour, use once)
|
||||||
Question string
|
Question string
|
||||||
CreatedTime time.Time
|
CreatedTime time.Time
|
||||||
Deadline time.Time // ~5m30s, we close the stream here and switch to response_url
|
Deadline time.Time // ~30s, we close the stream here and switch to response_url
|
||||||
StreamClosed bool // stream returned finish:true; waiting for agent to reply via response_url
|
StreamClosed bool // stream returned finish:true; waiting for agent to reply via response_url
|
||||||
Finished bool // fully done
|
Finished bool // fully done
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
|
|||||||
Reference in New Issue
Block a user