- 26 Jul, 2025 1 commit
-
-
Raymond committed
-
- 25 Jul, 2025 1 commit
-
-
Raymond committed
-
- 20 Jul, 2025 6 commits
-
-
CaIon committed
-
fix: ali embedding support base64
Calcium-Ion committed -
feitianbubu committed
-
Xyfacai committed
-
Xyfacai committed
-
Xyfacai committed
-
- 19 Jul, 2025 3 commits
- 18 Jul, 2025 10 commits
-
-
Add stripe support and fix wrong top up loading state
IcedTangerine committed -
🔧 refactor(user_usable_group): enhance concurrency control with mutex…Calcium-Ion committed -
fix: mySQL does not support default false
Calcium-Ion committed -
feat: video priority use origin model name
Calcium-Ion committed -
fix: default request ID to 'SYSTEM' for background tasks
Calcium-Ion committed -
fix: KlingText2VideoRequest image and model_name
Calcium-Ion committed -
feat: 增加即梦生图功能
Calcium-Ion committed -
feitianbubu committed
-
feitianbubu committed
-
t0ng7u committed
-
- 17 Jul, 2025 15 commits
-
-
Xyfacai committed
-
📚 A new Markdown file `docs/api/web_api.md` has been added that documents all backend REST endpoints used by the Web UI. Details: • Lists every `/api`, `/dashboard`, and `/v1/dashboard` route relevant to the Web front-end • Excludes every Relay-specific path to keep scope focused on Web operations • Groups endpoints by functional module (initialisation, public info, user, channel, token, logging, etc.) • Specifies HTTP method, path, required auth level, and concise description for each entry • Includes an auth-level legend and update-date placeholder for future maintenance No application logic was modified; this is documentation-only and improves developer onboarding and API discoverability.
t0ng7u committed -
🌐 Backend - setting/payment.go: introduce default `USDExchangeRate` (7.3) - model/option.go: • inject `USDExchangeRate` into `InitOptionMap` • persist & sync value in `updateOptionMap` - controller/misc.go: expose `usd_exchange_rate` via `/api/status` Frontend - OperationSetting.js & SettingsGeneral.js: • extend state/inputs with `USDExchangeRate` • add form field “美元汇率 (non-top-up rate, pricing only)” - ModelPricing.js already consumes `status.usd_exchange_rate`; no change needed API - Administrators can update the rate via `PUT /api/option` (key: `USDExchangeRate`) - All clients receive the latest rate through `GET /api/status` This closes the end-to-end flow for displaying model prices in both USD and CNY based on a configurable exchange rate.
t0ng7u committed -
CaIon committed
-
CaIon committed
-
💸 * Introduced `showWithRecharge` switch in the actions bar to display model prices based on recharge cost. * Added a `Select` dropdown (USD / CNY) that appears only when the recharge-price mode is enabled. * Implemented `displayPrice()` helper to: * Convert USD prices to recharge prices using `status.price` and `status.usd_exchange_rate`. * Format output according to the selected currency. * Updated price rendering for both quota types to use the new helper and respect K/M unit conversion. * Removed the old currency switch from the header, retaining only the K/M unit toggle. * Extended `SearchAndActions` memo dependencies; imported `Select` from Semi UI. * Minor refactors and comment clean-up. No breaking changes.
t0ng7u committed -
CaIon committed
-
CaIon committed
-
CaIon committed
-
fix: usage cost(any) to support claude and gemini
Calcium-Ion committed -
fix: 修复Gemini渠道的向量模型测试
Calcium-Ion committed -
feat: 改进 RequestOpenAI2ClaudeMessage 和添加 claude web search 计费
Calcium-Ion committed -
fix: playground chat
Calcium-Ion committed -
💱 * Introduced a currency switch to toggle prices between USD and CNY. * CNY prices are calculated by multiplying USD prices with the site-wide `price` rate from `/api/status`. * Added a second switch to display prices per 1 M tokens or per 1 K tokens. * When “K” is selected, prices are divided by 1 000 and labels are updated accordingly. * Extended component state with `currency` and `tokenUnit` variables. * Integrated `StatusContext` to retrieve and memoize the current exchange rate. * Updated price rendering logic and labels to reflect selected currency and token unit. * Minor UI tweaks: kept Switch components compact and aligned with the table header. No breaking changes.
t0ng7u committed -
fix xai-non-stream
IcedTangerine committed
-
- 16 Jul, 2025 4 commits
-
-
feitianbubu committed
-
feitianbubu committed
-
feitianbubu committed
-
wzxjohn committed
-