Update pkg/channels/wecom/aibot.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
dba86ad3f5
commit
46b9716dfa
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue