xiezhouwei xiezhouwei
  • Joined on 2026-05-20
xiezhouwei created branch deploy in xiezhouwei/tokenFactory 2026-06-25 17:29:56 +08:00
xiezhouwei pushed to deploy at xiezhouwei/tokenFactory 2026-06-25 17:29:56 +08:00
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-23 14:11:40 +08:00
1e3ce2c0d2 feat: remove channel ID and username search fields from usage log filters
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-23 14:06:35 +08:00
b6293434e9 feat: hide channel, user, and retry columns in usage log table by default\n\n- Set CHANNEL/USERNAME/RETRY default visibility to false for all users\n- Remove admin-only override logic (no longer differentiate by role)\n- Exclude these 3 columns from 'Select All' operation
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-23 11:49:27 +08:00
a9d2fc2abe fix: billing total display now consistently uses 2 decimals, floor 0.01 for tiny positive amounts\n\n- Previous 6-decimal fallback caused visual inconsistency with list (shows 0.01)\n- Now: raw>0 and toFixed(2)>0 -> normal 2-decimal display\n- Now: raw>0 but toFixed(2)==0 -> floor to 0.01 (minimum visible unit)\n- Matches list column display format, no more '= 0.000125' in detail
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-23 11:39:23 +08:00
4d5dd30668 fix: prevent billing process total from rounding to 0 for very small amounts (e.g. low-ratio channel-only models)
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-23 11:26:06 +08:00
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
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-23 11:16:26 +08:00
648c9917ab fix: hide cache prices on model card, show only input and output prices
a93c04ce28 fix: show all configured channel prices (output/cache/createCache) on model card surface, not just input
d676e2200f fix: show output/cache/create_cache prices when channel-level pricing provides the ratio, not only when global pricing has it
Compare 3 commits »
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-23 10:53:45 +08:00
4a7cb9e0f0 feat: extend ModelHasConfiguredPricing to include channel-level pricing (ChannelModelRatio/ChannelModelPrice) via prebuilt index set
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 11:58:10 +08:00
a7759c5767 refine: show only avatar circle on homepage hero when logged in, remove username text
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 11:53:19 +08:00
c44cebeb18 fix: apply admin theme/language toggle to homepage hero section as well
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 11:46:37 +08:00
09d6a7305e feat: add admin-controlled toggles for header theme/language display in system settings
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 11:41:30 +08:00
3e79e956f0 Revert "fix: restrict theme toggle and language selector to console routes only, hide on public pages"
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 11:35:29 +08:00
ff522958de fix: restrict theme toggle and language selector to console routes only, hide on public pages
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 11:27:39 +08:00
7d30717cd1 fix: unify homepage hero button styles - rounded login button, console-style user avatar with dynamic color
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 10:59:36 +08:00
4f85cad331 fix: show user info on homepage hero when logged in instead of always showing login button
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 10:08:21 +08:00
0ab319143b feat: restructure docs page to left-center-right 3-column layout with page TOC sidebar
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 09:56:28 +08:00
e028f6f93a fix: adjust docs page scroll offset to prevent fixed header occlusion
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 09:51:51 +08:00
76ac1a1b31 fix: clear default external docs_link, add migration to use in-app /docs page
xiezhouwei pushed to dev at xiezhouwei/tokenFactory 2026-06-22 09:30:37 +08:00
64a4a68a6f feat: add in-app docs page with sidebar navigation and quickstart guide, replace /docs redirect with built-in page