win
8b446ffef8
fix(windsurf): fix tool call for legacy-enum models + gateway logger
...
Three fixes:
1. Logger: windsurf_gateway_service used zap.L() (nop) instead of
logger.L() — all gateway-level logs were silently dropped.
2. Tool mode routing: when tools are present in the request,
force cascade mode even for legacy-enum models. Legacy mode
ignores toolPreamble entirely, so tool calls were never injected.
3. Model enum hint: pass meta.EnumValue through to
SendUserCascadeMessage/buildCascadeConfig as a fallback when
modelUID-based enum resolution returns 0. Prevents 'neither
PlanModel nor RequestedModel specified' gRPC errors.
Tested: claude-sonnet-4-6 with tool definitions returns proper
tool_use content blocks in both streaming and non-streaming modes.
Tool result round-trip verified.
2026-04-23 23:04:02 +08:00
win
9112645bf9
chore: 升级Dockerfile基础镜像到golang:1.26
CI / test (push) Failing after 4s
CI / frontend (push) Failing after 4s
CI / golangci-lint (push) Failing after 4s
Security Scan / backend-security (push) Failing after 57s
Security Scan / frontend-security (push) Failing after 16m30s
2026-04-23 20:51:40 +08:00
win
21325afb33
feat(windsurf): 补全ops日志记录与endpoint派生,对齐其他平台
...
CI / test (push) Failing after 10s
CI / frontend (push) Failing after 8s
CI / golangci-lint (push) Failing after 5s
Security Scan / backend-security (push) Failing after 5s
Security Scan / frontend-security (push) Failing after 4s
- windsurf_gateway_service: 添加上游延迟/TTFT/错误上下文记录
- endpoint: DeriveUpstreamEndpoint 添加 PlatformWindsurf 分支
- ops_error_logger: guessPlatformFromPath 添加 /windsurf/ 识别
2026-04-23 20:46:27 +08:00
win
ff7eab0392
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# backend/go.mod
# backend/go.sum
# backend/internal/repository/migrations_runner.go
2026-04-22 21:27:18 +08:00
github-actions[bot]
6449da6c8d
chore: sync VERSION to 0.1.115 [skip ci]
2026-04-22 12:08:51 +00:00
shaw
755c7d5026
chore: revert README files to 78f691d2 version
2026-04-22 19:55:13 +08:00
Wesley Liddick
1da4bd72df
Merge pull request #1802 from IanShaw027/fix/profile-auth-bindings-i18n
...
fix(profile): 修正邮箱重复显示问题并添加国际化语言支持
2026-04-22 19:49:43 +08:00
IanShaw027
5551349349
fix: clean up profile auth binding notes
2026-04-22 19:11:51 +08:00
shaw
c6d25f69d5
chore: 恢复PAYMENT系列文件
2026-04-22 18:48:40 +08:00
shaw
45065c23d5
fix(ci): run 108a migration before 109 in backfill integration test
2026-04-22 18:36:44 +08:00
Wesley Liddick
ddf80f5ea1
Merge pull request #1799 from IanShaw027/rebuild/auth-identity-foundation
...
fix(auth,payment,profile): 修复认证身份和支付系统的后续问题
2026-04-22 18:18:39 +08:00
Wesley Liddick
c048ca80a4
Merge branch 'main' into rebuild/auth-identity-foundation
2026-04-22 18:17:12 +08:00
IanShaw027
22385be515
Merge remote-tracking branch 'upstream/main' into rebuild/auth-identity-foundation
...
# Conflicts:
# backend/internal/service/openai_images.go
2026-04-22 18:13:05 +08:00
shaw
4d0483f5b8
feat: 补充gpt生图模型测试功能
2026-04-22 18:12:03 +08:00
IanShaw027
6b19490393
fix(ci): align openai account tests and remove dead wxpay const
2026-04-22 18:09:46 +08:00
shaw
1e0d466002
feat: 补充gpt生图模型测试功能
2026-04-22 18:06:14 +08:00
IanShaw027
9de7a72cce
fix(upgrade): close payment and oidc compatibility gaps
2026-04-22 18:01:51 +08:00
IanShaw027
66b3acc274
fix(lint): remove embedded response selectors in openai images
2026-04-22 17:51:45 +08:00
IanShaw
0bc3a521b5
Merge branch 'Wei-Shaw:main' into rebuild/auth-identity-foundation
2026-04-22 17:24:38 +08:00
IanShaw027
3419cb0112
fix(admin): preserve legacy oidc security write defaults
2026-04-22 17:22:24 +08:00
IanShaw027
a94d89efa7
fix(unit): restore secure oidc defaults and wechat alias reuse
2026-04-22 16:51:23 +08:00
IanShaw027
66680a3056
fix(test): update wechat bind start path assertion
2026-04-22 16:44:25 +08:00
IanShaw027
ad4600964e
fix(ci): clean up lint and dead code
2026-04-22 16:38:36 +08:00
IanShaw027
82259d1380
fix(auth): preserve resolved token version on oauth login
2026-04-22 16:01:25 +08:00
IanShaw027
ca4e38aa01
fix(profile): stabilize binding compatibility and frontend checks
2026-04-22 14:57:47 +08:00
IanShaw027
1aab084ecb
fix(payment): restore upgrade-safe payment flows
2026-04-22 14:57:16 +08:00
IanShaw027
36aed35957
fix(auth): harden oauth identity upgrade paths
2026-04-22 14:56:56 +08:00
Wesley Liddick
32107b4f95
Merge pull request #1795 from 0x90000/feat/openai-image-api-sync
...
feat(openai): 同步生图 API 支持并接入图片计费调度
2026-04-22 14:24:41 +08:00
IanShaw027
3d29f7c2fa
fix(auth): invalidate access tokens on session revoke
2026-04-22 13:30:34 +08:00
IanShaw027
01a991f56f
fix(test): restore identity repo integration imports
2026-04-22 13:22:33 +08:00
IanShaw027
6696e61c7b
fix(frontend): preserve callback recovery state
2026-04-22 13:19:41 +08:00
IanShaw027
81c827ee51
fix(profile): stabilize identity binding management
2026-04-22 13:19:28 +08:00
IanShaw027
83cad63ce0
fix(auth): harden oauth callback adoption flows
2026-04-22 13:19:20 +08:00
IanShaw027
06136af805
fix(upgrade): preserve legacy auth and payment compatibility
2026-04-22 13:18:10 +08:00
lucas morgan
6ad333d6b2
fix(openai): 修复生图服务 lint 问题
...
- 移除不安全的类型断言用法
- 补齐响应体关闭与字符串拼接的 lint 问题
- 按 staticcheck 建议简化选择器与条件表达式
2026-04-22 12:54:39 +08:00
IanShaw027
29caf85104
fix(frontend): stabilize wechat payment resume recovery
2026-04-22 12:30:24 +08:00
IanShaw027
d6a04bb772
fix(payment): support source routing and compatible resume signing
2026-04-22 12:30:17 +08:00
lucas morgan
c548021921
feat(openai): 同步生图 API 支持并接入图片计费调度
...
- 同步 OpenAI 图片生成与编辑接口
- 接入图片请求解析、账号调度、转发与用量记录
- 接入图片计费与图片用量落库
- 限制 OAuth 生图仅支持无显式模型和尺寸的基础请求
2026-04-22 12:30:08 +08:00
IanShaw027
b2e0712190
fix(settings): preserve oauth config compatibility on upgrade
2026-04-22 12:30:07 +08:00
IanShaw027
767f2f2dfe
fix(auth): harden pending oauth and backend mode flows
2026-04-22 12:30:00 +08:00
IanShaw027
1ffebbb568
fix(migrations): keep auth identity and payment upgrades safe
2026-04-22 12:29:52 +08:00
IanShaw027
be9df2bea7
fix(auth): scrub legacy pending oauth tokens on upgrade
2026-04-22 11:29:05 +08:00
IanShaw027
9d5e9bbc18
fix(payment): respect configured visible method source
2026-04-22 11:28:58 +08:00
IanShaw027
454873221c
test(auth): strengthen pending oauth legacy token assertions
2026-04-22 11:18:09 +08:00
IanShaw027
18481a100b
fix(migrations): defer online ddl follow-ups safely
2026-04-22 11:17:45 +08:00
IanShaw027
ca1f30a911
fix(auth): harden pending oauth session consumption
2026-04-22 11:17:38 +08:00
IanShaw027
84628108fc
fix(auth): preserve backward-compatible oauth defaults
2026-04-22 11:17:32 +08:00
IanShaw027
dd314c41e3
fix(payment): restore public resume and result flows
2026-04-22 11:17:23 +08:00
IanShaw027
c229f33e9e
fix(review): harden payment, oauth, and migration paths
2026-04-22 10:26:22 +08:00
Wesley Liddick
8eb3f9e789
Merge pull request #1785 from IanShaw027/rebuild/auth-identity-foundation
...
feat(auth,payment): 重构认证身份和支付系统及其他部分优化
2026-04-22 10:14:15 +08:00