日志
正常请求 20260707005948308115088EVEaZ1rq

[root@iZuf6dth8lkakv93dngjacZ ai-hub-platform-backend]
[INFO]2026-07-07 08:59:48|20260707005948308115088EVEaZ1rq|888889150|GetDiscountRatio: matched model discount, user_id=888889150, org_id=24, discount_id=10, discount_type=2, model=glm-5.2, ratio=1.000000
[INFO]2026-07-07 08:59:48|20260707005948308115088EVEaZ1rq|888889150|用户 888889150 额度充足, 信任且不需要预扣费 (funding=wallet)
[INFO]2026-07-07 08:59:48|20260707005948308115088EVEaZ1rq|0|[relay] POST /v1/messages → upstream https://api.tokenpony.cn/v1/chat/completions (channel
[INFO]2026-07-07 09:01:31|20260707005948308115088EVEaZ1rq|888889150|stream ended: reason=done
[INFO]2026-07-07 09:01:31|20260707005948308115088EVEaZ1rq|888889150|预扣费后补扣费:¥0.574627(实际消耗:¥0.574627,预扣费:¥0.000000)
[INFO]2026-07-07 09:01:31|20260707005948308115088EVEaZ1rq|888889150|record consume log: userId=888889150, username=zhiming_liao, tokenName=zhiming, group=default, inputTokens=101170, outputTokens=6291, cacheReadTokens=68480, cacheWriteTokens=0
请求号 20260707014924738048569BbfzUBtF

[INFO]2026-07-07 09:49:24|20260707014924738048569BbfzUBtF|888888918|GetDiscountRatio: matched model discount, user_id=888888918, org_id=6, discount_id=11, discount_type=2, model=gpt-image-2, ratio=0.770000
[INFO]2026-07-07 09:49:25|20260707014924738048569BbfzUBtF|888888918|用户 888888918 额度充足, 信任且不需要预扣费 (funding=wallet)
[INFO]2026-07-07 09:49:25|20260707014924738048569BbfzUBtF|0|[image-relay] model="gpt-image-2", size="2160x3840", n=0x3dd9a5230600, channelId=#60, apiType=0, baseURL="http://116.236.217.147:30304", requestPath="/v1/images/edits"
# 第二次
[ERR]2026-07-07 10:05:11|20260707014924738048569BbfzUBtF|888888918|do request failed: Post "http://116.236.217.147:30304/v1/images/edits": readfrom tcp 172.22.0.84:58014->116.236.217.147:30304: write tcp 172.22.0.84:58014->116.236.217.147:30304: write: connection reset by peer
[ERR]2026-07-07 10:05:11|20260707014924738048569BbfzUBtF|888888918|channel error (channel #60, status code: 500): upstream error: do request failed
[INFO]2026-07-07 10:05:11|20260707014924738048569BbfzUBtF|888888918|record error log: userId=888888918, channelId=60, modelName=gpt-image-2, tokenName=宝付使用, content=status_code=500, upstream error: do request failed
[INFO]2026-07-07 10:05:11|20260707014924738048569BbfzUBtF|888888918|GetDiscountRatio: matched model discount, user_id=888888918, org_id=6, discount_id=11, discount_type=2, model=gpt-image-2, ratio=0.770000
[INFO]2026-07-07 10:05:11|20260707014924738048569BbfzUBtF|0|[image-relay] model="gpt-image-2", size="2160x3840", n=0x3dd9afaeb5e8, channelId=
[ERR]2026-07-07 10:08:37|20260707014924738048569BbfzUBtF|888888918|do request failed: Post "https://api.modelverse.cn/v1/images/edits": write tcp 172.22.0.84:47316->106.75.185.110:443: write: connection reset by peer
[ERR]2026-07-07 10:08:37|20260707014924738048569BbfzUBtF|888888918|channel error (channel
[INFO]2026-07-07 10:08:37|20260707014924738048569BbfzUBtF|888888918|record error log: userId=888888918, channelId=24, modelName=gpt-image-2, tokenName=宝付使用, content=status_code=500, upstream error: do request failed
[INFO]2026-07-07 10:08:37|20260707014924738048569BbfzUBtF|888888918|GetDiscountRatio: matched model discount, user_id=888888918, org_id=6, discount_id=11, discount_type=2, model=gpt-image-2, ratio=0.770000
[INFO]2026-07-07 10:08:37|20260707014924738048569BbfzUBtF|0|[image-relay] model="gpt-image-2", size="2160x3840", n=0x3dda1e262d68, channelId=#24, apiType=0, baseURL="https://api.modelverse.cn", requestPath="/v1/images/edits"
