Skip to content

Releases: Guyao146/Local-Model-Gateway

Local Model Gateway 2.5.2

Choose a tag to compare

@github-actions github-actions released this 08 Oct 07:42

Full Changelog: v2.5.1...v2.5.2

Local Model Gateway 2.5.1

Choose a tag to compare

@github-actions github-actions released this 08 Oct 03:47

Full Changelog: v2.5.0...v2.5.1

Local Model Gateway 2.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 12:17

Full Changelog: v2.4.0...v2.5.0

Local Model Gateway 2.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 04:25

Full Changelog: v2.3.0...v2.4.0

Local Model Gateway 2.3.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 05:19

Full Changelog: v2.2.0...v2.3.0

Local Model Gateway 2.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Sep 08:11

サクラDevelopment 发布 2.2.0:可配置「原地重试」后再故障转移。

新增

  • 新增可靠性设置「每个上游重试次数」(upstreamRetries,0–10,默认 0)。
    0 保持旧行为;设为 N 时,某个上游出现连接失败、超时、429 或 5xx 会先原地重试同一个站 N 次,
    重试次数用尽才切换到下一优先级的备用上游。

改进

  • 失败时返回给客户端的错误信息末尾会追加「已依次尝试:上游A×2、上游B×1」摘要,
    一眼看出是重试耗尽还是切换耗尽;code / type / param 等结构化字段保持原值。
  • 请求日志的 attempts 新增 retry 字段,按真实尝试顺序记录每次请求,
    后台日志行会显示「第 N 次」重试标记。
  • failover 统计改为「尝试过多个不同上游」,原地重试同一个站不再计入故障转移。
  • 4xx 参数/鉴权错误既不原地重试也不切换上游,直接把配置问题暴露出来。
  • 修复设置项超出范围时管理接口返回 500 的问题(现返回 400 与具体提示)。

修复

  • 修复 v2.1.1 管理后台中文乱码问题(该问题已在 v2.1.2 修复,此版本包含同样修复)。

说明

  • 流式请求仍然只在向上游建立响应之前重试/切换,避免重复生成内容。
  • 并发槽位在整个重试过程中持续占用。
  • 升级后需重新下载安装包;Docker 用户 docker compose pull && docker compose up -d 即可。

Local Model Gateway 2.1.2

Choose a tag to compare

@github-actions github-actions released this 22 Sep 07:40

サクラDevelopment 发布 2.1.2:修复管理后台中文乱码。

修复

  • 修复 v2.1.1 管理后台中文全部显示为乱码(例如「搜索上游」变成「鎼滅储涓婃父」)的问题。
    原因是 v2.1.1 的版本号更新脚本用 PowerShell 的 Get-Content -Raw / WriteAllText
    重写了 public/index.html,读取时按系统 ANSI 代码页解码 UTF-8 文件后再次写回,
    导致整份文件被双重编码。

影响范围

  • 仅影响控制台界面文字显示,不影响网关转发、路由、鉴权、统计等任何功能。
  • package.json、clients/electron/package.json、clients/webview2/*.csproj
    只包含 ASCII 内容,未受影响。

说明

  • 强烈建议所有使用 2.1.1 的用户升级;Docker 用户执行
    docker compose pull && docker compose up -d 即可。

Local Model Gateway 2.1.1

Choose a tag to compare

@github-actions github-actions released this 21 Sep 07:48

Full Changelog: v2.1.0...v2.1.1

Local Model Gateway 2.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 13:01

Full Changelog: v2.0.10...v2.1.0

Local Model Gateway 2.0.10

Choose a tag to compare

@github-actions github-actions released this 20 Sep 09:14

Full Changelog: v2.0.9...v2.0.10