TuringToken/service
xiezhouwei 789f3b43e4 fix: prevent float-to-int truncation turning small billing amounts (e.g. 0.01) into 0 in use-price paths\n\n- service/quota.go: replace IntPart() with Round(0).IntPart() + safety net\n- relay/helper/price.go: replace int(float64) with int(math.Round()) + safety net\n- controller/channel-test.go: same fix for test billing calculation\n- All use-price paths now round instead of truncate, and guarantee minimum 1 quota when effective pricing > 0 2026-06-23 11:26:00 +08:00
..
ffprobe-bin Add ffprobe binaries for video metadata probing 2026-06-03 10:08:47 +08:00
openaicompat Initial commit 2026-06-03 10:01:10 +08:00
passkey Initial commit 2026-06-03 10:01:10 +08:00
aliyun_sms.go Initial commit 2026-06-03 10:01:10 +08:00
audio.go Initial commit 2026-06-03 10:01:10 +08:00
billing.go Initial commit 2026-06-03 10:01:10 +08:00
billing_session.go Initial commit 2026-06-03 10:01:10 +08:00
captcha.go feat: add captcha verification for login form 2026-06-05 13:57:13 +08:00
channel.go Initial commit 2026-06-03 10:01:10 +08:00
channel_affinity.go Initial commit 2026-06-03 10:01:10 +08:00
channel_affinity_template_test.go Initial commit 2026-06-03 10:01:10 +08:00
channel_affinity_usage_cache_test.go Initial commit 2026-06-03 10:01:10 +08:00
channel_select.go Initial commit 2026-06-03 10:01:10 +08:00
codex_credential_refresh.go Initial commit 2026-06-03 10:01:10 +08:00
codex_credential_refresh_task.go Initial commit 2026-06-03 10:01:10 +08:00
codex_oauth.go Initial commit 2026-06-03 10:01:10 +08:00
codex_wham_usage.go Initial commit 2026-06-03 10:01:10 +08:00
convert.go Initial commit 2026-06-03 10:01:10 +08:00
distributor_notify.go Initial commit 2026-06-03 10:01:10 +08:00
download.go Initial commit 2026-06-03 10:01:10 +08:00
epay.go Initial commit 2026-06-03 10:01:10 +08:00
error.go Initial commit 2026-06-03 10:01:10 +08:00
error_test.go Initial commit 2026-06-03 10:01:10 +08:00
ffprobe_embed.go Initial commit 2026-06-03 10:01:10 +08:00
ffprobe_embed_stub.go Initial commit 2026-06-03 10:01:10 +08:00
file_decoder.go Initial commit 2026-06-03 10:01:10 +08:00
file_service.go Initial commit 2026-06-03 10:01:10 +08:00
forced_channel.go Initial commit 2026-06-03 10:01:10 +08:00
funding_source.go Initial commit 2026-06-03 10:01:10 +08:00
group.go Initial commit 2026-06-03 10:01:10 +08:00
http.go Initial commit 2026-06-03 10:01:10 +08:00
http_client.go Initial commit 2026-06-03 10:01:10 +08:00
image.go Initial commit 2026-06-03 10:01:10 +08:00
log_info_generate.go Initial commit 2026-06-03 10:01:10 +08:00
midjourney.go Initial commit 2026-06-03 10:01:10 +08:00
model_meta_infer.go fix: add Chinese vendor name keywords for doubao/seedance in model_meta_infer vendorKeywordAliases 2026-06-21 17:26:30 +08:00
model_meta_infer_test.go Initial commit 2026-06-03 10:01:10 +08:00
notify-limit.go Initial commit 2026-06-03 10:01:10 +08:00
openai_chat_responses_compat.go Initial commit 2026-06-03 10:01:10 +08:00
openai_chat_responses_mode.go Initial commit 2026-06-03 10:01:10 +08:00
operation_log.go feat: 操作日志功能实现及字段级diff优化 2026-06-04 15:17:59 +08:00
oss_upload.go Initial commit 2026-06-03 10:01:10 +08:00
quota.go fix: prevent float-to-int truncation turning small billing amounts (e.g. 0.01) into 0 in use-price paths\n\n- service/quota.go: replace IntPart() with Round(0).IntPart() + safety net\n- relay/helper/price.go: replace int(float64) with int(math.Round()) + safety net\n- controller/channel-test.go: same fix for test billing calculation\n- All use-price paths now round instead of truncate, and guarantee minimum 1 quota when effective pricing > 0 2026-06-23 11:26:00 +08:00
rate_limit_blacklist.go Initial commit 2026-06-03 10:01:10 +08:00
rule_markup_price.go Initial commit 2026-06-03 10:01:10 +08:00
sensitive.go Initial commit 2026-06-03 10:01:10 +08:00
smart_router.go Initial commit 2026-06-03 10:01:10 +08:00
str.go Initial commit 2026-06-03 10:01:10 +08:00
subscription_reset_task.go Initial commit 2026-06-03 10:01:10 +08:00
task.go Initial commit 2026-06-03 10:01:10 +08:00
task_billing.go Initial commit 2026-06-03 10:01:10 +08:00
task_billing_test.go Initial commit 2026-06-03 10:01:10 +08:00
task_polling.go Initial commit 2026-06-03 10:01:10 +08:00
task_profit_share.go Initial commit 2026-06-03 10:01:10 +08:00
task_submit_billing.go Initial commit 2026-06-03 10:01:10 +08:00
text_quota.go Initial commit 2026-06-03 10:01:10 +08:00
text_quota_test.go Initial commit 2026-06-03 10:01:10 +08:00
token_counter.go Initial commit 2026-06-03 10:01:10 +08:00
token_estimator.go Initial commit 2026-06-03 10:01:10 +08:00
tokenizer.go Initial commit 2026-06-03 10:01:10 +08:00
usage_helpr.go Initial commit 2026-06-03 10:01:10 +08:00
user_message.go Initial commit 2026-06-03 10:01:10 +08:00
user_notify.go Initial commit 2026-06-03 10:01:10 +08:00
video_metadata.go Initial commit 2026-06-03 10:01:10 +08:00
violation_fee.go Initial commit 2026-06-03 10:01:10 +08:00
webhook.go Initial commit 2026-06-03 10:01:10 +08:00