Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion agent/app/service/app_upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ func (u *appUpgradeContext) applyStagedFiles() error {
nginxModuleBuildDir,
nginxModuleModulesDir,
path.Join(nginxModuleConfDir, nginxModuleEnabledConfDir),
path.Join(nginxModuleConfDir, "nginx.conf"),
} {
if err := replaceUpgradePath(u.stageDir, u.original.GetPath(), relativePath); err != nil {
return err
Expand Down
4 changes: 2 additions & 2 deletions agent/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible
github.com/compose-spec/compose-go/v2 v2.14.0
github.com/creack/pty v1.1.24
github.com/docker/cli v29.7.1+incompatible
github.com/docker/cli v29.7.2+incompatible
github.com/docker/docker v28.5.2+incompatible
github.com/docker/go-connections v0.8.1
github.com/fsnotify/fsnotify v1.10.1
Expand All @@ -28,7 +28,7 @@ require (
github.com/jackc/pgx/v5 v5.10.0
github.com/jinzhu/copier v0.4.0
github.com/joho/godotenv v1.5.1
github.com/klauspost/compress v1.19.1
github.com/klauspost/compress v1.19.2
github.com/mattn/go-shellwords v1.0.14
github.com/mholt/archiver/v4 v4.0.0-alpha.8
github.com/miekg/dns v1.1.72
Expand Down
8 changes: 4 additions & 4 deletions agent/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5Qvfr
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/dlclark/regexp2 v1.12.0 h1:0j4c5qQmnC6XOWNjP3PIXURXN2gWx76rd3KvgdPkCz8=
github.com/dlclark/regexp2 v1.12.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
github.com/docker/cli v29.7.1+incompatible h1:ILZpP6B7fedIr6ANy824QkDp1WMJuouIq0O2SrBkB2w=
github.com/docker/cli v29.7.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/cli v29.7.2+incompatible h1:dlkwallR8XqfeVnA2ELEhdwvb4lsSwuB4IgsG8Q9cLY=
github.com/docker/cli v29.7.2+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/docker v28.5.2+incompatible h1:DBX0Y0zAjZbSrm1uzOkdr1onVghKaftjlSWt4AFexzM=
github.com/docker/docker v28.5.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/docker-credential-helpers v0.9.5 h1:EFNN8DHvaiK8zVqFA2DT6BjXE0GzfLOZ38ggPTKePkY=
Expand Down Expand Up @@ -523,8 +523,8 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o
github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
github.com/klauspost/compress v1.19.1 h1:VsB4HPswih7mmZ8WleSFQ75c/Ui1M4trX5oAsJnhSlk=
github.com/klauspost/compress v1.19.1/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
github.com/klauspost/compress v1.19.2 h1:hMRETovs/pu/dVWN7zIT1PGG8t509MwT6bO7XSi26R8=
github.com/klauspost/compress v1.19.2/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y=
Expand Down
1 change: 1 addition & 0 deletions core/constant/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ var WebUrlMap = map[string]struct{}{

"/ai": {},
"/ai/ai-proxy": {},
"/ai/ai-proxy/overview": {},
"/ai/ai-proxy/model-pool": {},
"/ai/ai-proxy/api-keys": {},
"/ai/ai-proxy/groups": {},
Expand Down
2 changes: 1 addition & 1 deletion core/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/pkg/sftp v1.13.11
github.com/robfig/cron/v3 v3.0.1
github.com/russellhaering/goxmldsig v1.6.0
github.com/russellhaering/goxmldsig v1.6.1
github.com/shirou/gopsutil/v4 v4.26.7
github.com/sirupsen/logrus v1.9.4
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
Expand Down
4 changes: 2 additions & 2 deletions core/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=
github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro=
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog=
github.com/russellhaering/goxmldsig v1.6.0 h1:8fdWXEPh2k/NZNQBPFNoVfS3JmzS4ZprY/sAOpKQLks=
github.com/russellhaering/goxmldsig v1.6.0/go.mod h1:TrnaquDcYxWXfJrOjeMBTX4mLBeYAqaHEyUeWPxZlBM=
github.com/russellhaering/goxmldsig v1.6.1 h1:SB7R5ttvrGIDB2juJAK/i7DQ2Ivr7agG+ohfNJjwyYU=
github.com/russellhaering/goxmldsig v1.6.1/go.mod h1:haZkRcLs9W/Xp989fIjP3BrTdbFQveRF0QNZSYoH09w=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w=
github.com/sagikazarmark/locafero v0.12.0 h1:/NQhBAkUb4+fH1jivKHWusDYFjMOOKU88eegjfxfHb4=
Expand Down
66 changes: 33 additions & 33 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"crypto-js": "^4.2.0",
"dompurify": "^3.4.12",
"echarts": "^6.1.0",
"element-plus": "2.14.0",
"element-plus": "2.14.3",
"js-base64": "^3.9.1",
"jsencrypt": "^3.3.2",
"lodash-es": "^4.18.1",
"md-editor-v3": "^6.5.4",
"md-editor-v3": "^6.5.5",
"monaco-editor": "^0.56.0",
"nprogress": "^0.2.0",
"pinia": "^3.0.4",
Expand All @@ -61,7 +61,7 @@
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.3",
"@types/node": "^26.1.1",
"@types/node": "^26.1.2",
"@types/uuid": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^8.65.0",
"@typescript-eslint/parser": "^8.65.0",
Expand All @@ -79,7 +79,7 @@
"postcss-html": "^2.0.0",
"prettier": "^3.9.6",
"rollup-plugin-visualizer": "^7.0.1",
"sass": "^1.101.3",
"sass": "^1.102.0",
"standard-version": "^9.5.0",
"tailwindcss": "^4.3.3",
"typescript": "^6.0.3",
Expand Down
31 changes: 20 additions & 11 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,6 @@ const message = {
failureCount: 'Failures',
lastError: 'Last Error',
modelMap: 'Model Mapping',
qpsLimit: 'QPS Limit',
tokenLimit: 'Token Limit',
tokenUsed: 'Used Tokens',
tokenRemaining: 'Remaining Tokens',
Expand All @@ -1030,7 +1029,6 @@ const message = {
basicSetting: 'Basic Settings',
performanceSetting: 'Performance Settings',
logSetting: 'Log Settings',
lbPolicy: 'Load Balancing Policy',
protocolConversion: 'Protocol Conversion',
protocolConversionDesc:
'Allow supported direct conversion between Chat Completions, Responses, and Anthropic Messages. Native protocols always take priority.',
Expand All @@ -1049,16 +1047,27 @@ const message = {
visionPreprocess: 'Vision Preprocessing',
cacheHit: 'Cache Hit',
apiType: 'API Type',
lbPolicyRoundRobin: 'Round Robin',
lbPolicyRoundRobinDesc:
'Select available model accounts in order. Use this when backends have similar capacity.',
lbPolicyWeightedRoundRobin: 'Weighted Round Robin',
lbPolicyWeightedRoundRobinDesc:
'Distribute requests by model account weight. Higher weight receives more traffic; use this when backend capacity differs.',
lbPolicyFailover: 'Failover',
lbPolicyFailoverDesc:
'Use the highest-priority model account first, then switch to the next available account after failure or cooldown.',
maxConcurrency: 'Max Concurrency',
accountMaxConcurrency: 'Account Max Concurrency',
groupMaxConcurrency: 'User Group Max Concurrency',
apiKeyMaxConcurrency: 'Per-API-Key Max Concurrency',
gatewayConcurrency: 'Gateway Concurrency',
waitingQueue: 'Waiting Queue',
modelAccountConcurrency: 'Model Account Concurrency',
groupConcurrency: 'User Group Concurrency',
apiKeyConcurrency: 'API Key Concurrency',
currentLimit: 'Current / Limit',
utilization: 'Utilization',
autoRefreshSeconds: 'Refreshes every {0}s',
zeroMeansUnlimited: 'Set to 0 for unlimited.',
groupMaxConcurrencyDesc:
'Limits active requests across all API Keys in this group. Set to 0 for unlimited.',
apiKeyMaxConcurrencyDesc: 'Limits active requests for each API Key in this group. Set to 0 for unlimited.',
schedulingReason: 'Scheduling Reason',
schedulingAffinity: 'Affinity',
schedulingLeastUtilized: 'Least Utilized',
schedulingPriorityFallback: 'Priority Fallback',
schedulingRetry: 'Retry',
queueSize: 'Queue Size',
queueTimeoutSeconds: 'Queue Wait Timeout (s)',
requestTimeoutSeconds: 'Non-stream Request Timeout (s)',
Expand Down
32 changes: 21 additions & 11 deletions frontend/src/lang/modules/es-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,6 @@ const message = {
failureCount: 'Fallos',
lastError: 'Último error',
modelMap: 'Mapeo de modelos',
qpsLimit: 'Límite de QPS',
tokenLimit: 'Límite de tokens',
tokenUsed: 'Tokens usados',
tokenRemaining: 'Tokens restantes',
Expand All @@ -1034,7 +1033,6 @@ const message = {
basicSetting: 'Configuración básica',
performanceSetting: 'Configuración de rendimiento',
logSetting: 'Configuración de registros',
lbPolicy: 'Estrategia de balanceo',
protocolConversion: 'Conversión de protocolo',
protocolConversionDesc:
'Permite la conversión directa compatible entre Chat Completions, Responses y Anthropic Messages. Los protocolos nativos siempre tienen prioridad.',
Expand All @@ -1054,16 +1052,28 @@ const message = {
visionPreprocess: 'Preprocesamiento visual',
cacheHit: 'Acierto de caché',
apiType: 'Tipo de API',
lbPolicyRoundRobin: 'Round Robin',
lbPolicyRoundRobinDesc:
'Selecciona las cuentas de modelo disponibles en orden. Úselo cuando los backends tengan capacidad similar.',
lbPolicyWeightedRoundRobin: 'Round Robin ponderado',
lbPolicyWeightedRoundRobinDesc:
'Distribuye solicitudes según el peso de la cuenta de modelo. Un peso mayor recibe más tráfico; úselo cuando la capacidad de los backends sea diferente.',
lbPolicyFailover: 'Conmutación por error',
lbPolicyFailoverDesc:
'Usa primero la cuenta de modelo con mayor prioridad y cambia a la siguiente disponible tras un fallo o periodo de enfriamiento.',
maxConcurrency: 'Concurrencia máxima',
accountMaxConcurrency: 'Concurrencia máxima de la cuenta',
groupMaxConcurrency: 'Concurrencia máxima del grupo de usuarios',
apiKeyMaxConcurrency: 'Concurrencia máxima por API Key',
gatewayConcurrency: 'Concurrencia del gateway',
waitingQueue: 'Cola de espera',
modelAccountConcurrency: 'Concurrencia de cuentas de modelo',
groupConcurrency: 'Concurrencia de grupos de usuarios',
apiKeyConcurrency: 'Concurrencia de API Keys',
currentLimit: 'Actual / Límite',
utilization: 'Utilización',
autoRefreshSeconds: 'Actualización automática cada {0}s',
zeroMeansUnlimited: 'Establezca 0 para no limitar.',
groupMaxConcurrencyDesc:
'Limita las solicitudes activas de todas las API Keys del grupo. 0 significa sin límite.',
apiKeyMaxConcurrencyDesc:
'Limita las solicitudes activas de cada API Key del grupo. 0 significa sin límite.',
schedulingReason: 'Motivo de programación',
schedulingAffinity: 'Afinidad',
schedulingLeastUtilized: 'Menor utilización',
schedulingPriorityFallback: 'Fallback de prioridad',
schedulingRetry: 'Reintento',
queueSize: 'Tamaño de cola',
queueTimeoutSeconds: 'Tiempo de espera en cola (s)',
requestTimeoutSeconds: 'Timeout de solicitud no streaming (s)',
Expand Down
Loading
Loading