Files
whm b04b180d30 feat: harden loose-offline sync for user JWT, schema, and console ops
Enable Binding-scoped agent push/pull, empty-table schema ensure, SyncPage inspect/drop-table, default module import, and agent-bound publish docs from the 宇恒联调意见.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 09:47:35 +08:00

17 lines
609 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package config
type Config struct {
Name string `json:",optional"`
Host string `json:",default=0.0.0.0"`
Port int `json:",default=8180"`
PlatformURL string `json:",default=http://127.0.0.1:8888"`
AIURL string `json:",default=http://127.0.0.1:8001"`
RateLimitPerMin int `json:",default=240"`
ProxyTimeoutSec int `json:",default=120"`
CorsEnable bool `json:",default=true"`
// 与中台 Auth.AccessSecret 保持一致
JWTSecret string `json:",optional"`
// 网关预检 JWTAI 生成可匿名
JWTEnable bool `json:",default=true"`
}