Add smart ACK provider for WeChat MP replies
Replace fixed ackText with a rule-based AckProvider that picks response templates by message type and intent (translate, summary, rewrite, poster, ppt, mindmap, code, search, schedule). Pure sync, zero I/O, auto-falls back to config.ackText on any error. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
admin off
|
||||
email admin@tkmind.cn
|
||||
http_port 8090
|
||||
https_port 8444
|
||||
}
|
||||
|
||||
# m.tkmind.cn:公网入口转发到 Studio 本机 H5 (:8081)
|
||||
# 证书:acme.sh DNS-01 + 阿里云 API,自动续期
|
||||
m.tkmind.cn {
|
||||
tls /Users/john/.acme.sh/m.tkmind.cn_ecc/fullchain.cer /Users/john/.acme.sh/m.tkmind.cn_ecc/m.tkmind.cn.key
|
||||
|
||||
reverse_proxy 127.0.0.1:8081 {
|
||||
header_down +X-Memind-Upstream {http.reverse_proxy.upstream.hostport}
|
||||
flush_interval -1
|
||||
transport http {
|
||||
read_timeout 0
|
||||
write_timeout 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
plaza.tkmind.cn {
|
||||
tls /Users/john/.acme.sh/plaza.tkmind.cn_ecc/fullchain.cer /Users/john/.acme.sh/plaza.tkmind.cn_ecc/plaza.tkmind.cn.key
|
||||
|
||||
reverse_proxy 127.0.0.1:3001 {
|
||||
flush_interval -1
|
||||
transport http {
|
||||
read_timeout 0
|
||||
write_timeout 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gadm.tkmind.cn {
|
||||
tls /Users/john/.acme.sh/gadm.tkmind.cn_ecc/fullchain.cer /Users/john/.acme.sh/gadm.tkmind.cn_ecc/gadm.tkmind.cn.key
|
||||
|
||||
reverse_proxy 127.0.0.1:5174 {
|
||||
flush_interval -1
|
||||
transport http {
|
||||
read_timeout 0
|
||||
write_timeout 0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user