mirror of
https://gitcode.com/JianFeeeee/ModelRouter.git
synced 2026-09-20 00:48:00 +00:00
chore: remove outdated README screenshots/dupes, drop AI-assist local state (.pi-glla/.codegraph) from tracking, declare AI-assisted dev in README
This commit is contained in:
5
.codegraph/.gitignore
vendored
5
.codegraph/.gitignore
vendored
@ -1,5 +0,0 @@
|
|||||||
# CodeGraph data files — local to each machine, not for committing.
|
|
||||||
# Ignore everything in .codegraph/ except this file itself, so transient
|
|
||||||
# files (the database, daemon.pid, sockets, logs) never show up in git.
|
|
||||||
*
|
|
||||||
!.gitignore
|
|
||||||
7
.gitignore
vendored
7
.gitignore
vendored
@ -4,13 +4,16 @@
|
|||||||
/adapters/
|
/adapters/
|
||||||
/runtime.json
|
/runtime.json
|
||||||
/master.key
|
/master.key
|
||||||
*.logmaster.key
|
*.log
|
||||||
|
/master.key
|
||||||
# GUI (Electron)
|
# GUI (Electron)
|
||||||
cmd/gui/node_modules/
|
cmd/gui/node_modules/
|
||||||
cmd/gui/bin/
|
cmd/gui/bin/
|
||||||
cmd/gui/build/gui-dist/
|
cmd/gui/build/gui-dist/
|
||||||
cmd/build/
|
cmd/build/
|
||||||
cmd/gui/*.log
|
cmd/gui/*.log
|
||||||
# workspace
|
# workspace (AI-assisted coding local state)
|
||||||
.pi/
|
.pi/
|
||||||
|
.pi-glla/
|
||||||
|
.codegraph/
|
||||||
/build/
|
/build/
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
{"type":"session_rebound","value":{"reason":"startup"},"at":"2026-08-12T16:32:27.696Z"}
|
|
||||||
{"type":"session_waiting_for_load","value":{"reason":"startup"},"at":"2026-08-12T16:32:27.700Z"}
|
|
||||||
{"type":"state","value":{"goal":null,"list":[],"loop":null,"mainModelRecovery":null,"lastModelRef":"llmsproxy/AUTO"},"at":"2026-08-12T16:32:27.709Z"}
|
|
||||||
{"type":"session_shutdown","value":{"reason":"quit"},"at":"2026-08-12T16:32:35.444Z"}
|
|
||||||
{"type":"session_rebound","value":{"reason":"startup"},"at":"2026-08-13T00:45:11.614Z"}
|
|
||||||
{"type":"id_invalidation","value":{"oldId":"019ff6d1-6720-7b67-b552-8b7d4af1a78d","newId":"019ff894-82fd-7424-a82d-5fc7f6ead970","reason":"session_shutdown","shutdownReason":"quit","at":"2026-08-13T00:45:11.621Z"},"at":"2026-08-13T00:45:11.621Z"}
|
|
||||||
{"type":"session_waiting_for_load","value":{"reason":"startup"},"at":"2026-08-13T00:45:11.621Z"}
|
|
||||||
{"type":"session_shutdown","value":{"reason":"quit"},"at":"2026-08-13T00:45:33.296Z"}
|
|
||||||
@ -1 +0,0 @@
|
|||||||
{"instanceId":"3813219:1786581911411","pid":3813219,"at":1786581911614}
|
|
||||||
@ -1 +0,0 @@
|
|||||||
{"pid":3813219,"at":"2026-08-13T00:45:11.621Z","generation":2,"ownerSessionId":"019ff894-82fd-7424-a82d-5fc7f6ead970","shutdownReason":"quit","shutdownAt":"2026-08-13T00:45:33.296Z"}
|
|
||||||
@ -1,13 +1,11 @@
|
|||||||
# ModelRouter
|
# ModelRouter
|
||||||
|
|
||||||
> **English**: [README_EN.md](./README_EN.md)
|
> **English**: [README_EN.md](./README_EN.md)
|
||||||
|
>
|
||||||
|
> **AI-assisted**: 本项目使用 AI 辅助编程(代码与文档由 AI 协作完成,经人工复核)。
|
||||||
|
|
||||||
面向多 llms 订阅者,部署在内网,实现一次配置多个服务共同使用的效果。支持指定模型或 auto 模式,按照配置的优先级选择可用模型提供服务。
|
面向多 llms 订阅者,部署在内网,实现一次配置多个服务共同使用的效果。支持指定模型或 auto 模式,按照配置的优先级选择可用模型提供服务。
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
> **轻量且增源无需重编译**:网关本体是单 Go 二进制(约 10MB,零运行时依赖)。新增/切换上游
|
> **轻量且增源无需重编译**:网关本体是单 Go 二进制(约 10MB,零运行时依赖)。新增/切换上游
|
||||||
> 只需在 `config.yaml`(或 WebUI)加一个 `sources` 条目或挂一个 `.lua` 适配器——**不改 Go、
|
> 只需在 `config.yaml`(或 WebUI)加一个 `sources` 条目或挂一个 `.lua` 适配器——**不改 Go、
|
||||||
> 不重编译**。源与适配器的改动经 WebUI 提交时即时生效(热更新);直接编辑
|
> 不重编译**。源与适配器的改动经 WebUI 提交时即时生效(热更新);直接编辑
|
||||||
@ -36,7 +34,6 @@
|
|||||||
- **密钥加密落盘**:AES-256-GCM 加密存储 `api_key`、网关密钥、请求头,master.key 0600 权限保护
|
- **密钥加密落盘**:AES-256-GCM 加密存储 `api_key`、网关密钥、请求头,master.key 0600 权限保护
|
||||||
- **实时源探测**:`GET {base}/models` 定期探测,毫秒级感知上游状态,不污染调度退避状态
|
- **实时源探测**:`GET {base}/models` 定期探测,毫秒级感知上游状态,不污染调度退避状态
|
||||||
- **全链路审计**:HTTP 访问日志、登录/配置变更审计、请求记录 CSV 导出、密钥用量统计 CSV 导出
|
- **全链路审计**:HTTP 访问日志、登录/配置变更审计、请求记录 CSV 导出、密钥用量统计 CSV 导出
|
||||||
- **AES-256-GCM 加密存储**:运行时文件敏感字段加密落盘,master.key 0600 权限,支持环境变量注入主密钥
|
|
||||||
|
|
||||||
### 灵活的协议适配
|
### 灵活的协议适配
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
# ModelRouter
|
# ModelRouter
|
||||||
|
|
||||||
> **中文**: [README.md](./README.md)
|
> **中文**: [README.md](./README.md)
|
||||||
|
>
|
||||||
|
> **AI-assisted**: This project is developed with AI-assisted coding (code and docs are produced in collaboration with AI, reviewed by humans).
|
||||||
|
|
||||||
A lightweight, unified OpenAI-compatible LLM gateway for internal networks —
|
A lightweight, unified OpenAI-compatible LLM gateway for internal networks —
|
||||||
configure once, and let multiple services (agents, SDKs, bots) share many
|
configure once, and let multiple services (agents, SDKs, bots) share many
|
||||||
|
|||||||
Reference in New Issue
Block a user