mirror of
https://github.com/jasonxu114514/opencode2api.git
synced 2026-12-06 00:03:11 +00:00
chore: drop npm and Prettier tooling
Remove package.json, package-lock.json, .prettierrc.json and .prettierignore. CI no longer installs npm dependencies or runs the Prettier check; the WebUI syntax check now calls `node --check webui/app.js` directly. Docs and .gitignore are updated to match.
This commit is contained in:
1 parent
feb4b18d26
commit
0973fb83e6
9 files changed
+10
-85
No files matched your search
@@ -32,8 +32,7 @@
|
||||
go test ./...
|
||||
go test -race ./...
|
||||
go vet ./...
|
||||
npm run check:web
|
||||
npx prettier --check webui/index.html webui/app.js webui/styles.css
|
||||
node --check webui/app.js
|
||||
go build -trimpath -o opencode2api ./cmd/opencode2api
|
||||
```
|
||||
|
||||
@@ -81,7 +80,7 @@ Messages,以及这三种协议的流式输出。真实模型 ID 的原有调
|
||||
- `POST /api/rotation/current`:`{"group":"sota","model":"glm-5.3"}`;立即
|
||||
修改当前模型并解除该模型的临时暂停。
|
||||
|
||||
验证:`go test -race ./...`、`go vet ./...`、`npm run check:web`。
|
||||
验证:`go test -race ./...`、`go vet ./...`、`node --check webui/app.js`。
|
||||
模拟上游测试覆盖 9 次普通错误上限、超过 3 个额度跳过、混合错误预算、
|
||||
Retry-After、单个模型故障不影响 Key、三种入口协议的跨协议转换、成功保持、
|
||||
别名发现与用量归属、畸形响应、输出前错误、首个输出超时、输出后故障、
|
||||
|
||||
Reference in new issue
Block a user