- 20 Jun, 2025 2 commits
-
-
feat: 支持可灵视频渠道(异步任务)
Calcium-Ion committed -
CaIon committed
-
- 19 Jun, 2025 25 commits
-
-
- Added status code mapping handling in GeminiHelper to reset status codes based on response. - Removed redundant candidate check in GeminiTextGenerationHandler to simplify response processing.
CaIon committed -
CaIon committed
-
CaIon committed
-
💄 Enhance the UI of payment method selection area with responsive layouts: - Use 2-column grid when exactly 2 payment methods are present - Use 3-column grid for 3 payment methods - Use compact card layout for more than 3 payment methods - Full-width button for single payment method This improves the visual balance across different device sizes and payment provider configurations, ensuring buttons fill their grid cells appropriately with the w-full class.
Apple\Apple committed -
CaIon committed
-
CaIon committed
-
creamlike1024 committed
-
CaIon committed
-
CaIon committed
-
creamlike1024 committed
-
creamlike1024 committed
-
creamlike1024 committed
-
CaIon committed
-
CaIon committed
-
Fix Vertex channel global region format for claude models
Calcium-Ion committed -
fix: Gemini & Vertex empty content error
Calcium-Ion committed -
透传thinking参数, 豆包模型用来控制是否思考
Calcium-Ion committed -
fix: 修复渠道界面模型选择下拉框模型重复显示
Calcium-Ion committed -
feat: 自定义充值方式
Calcium-Ion committed -
wans10 committed
-
KamiPasi committed
-
skynono committed
-
skynono committed
-
skynono committed
-
tbphp committed
-
- 18 Jun, 2025 8 commits
-
-
fix: task cost time
Calcium-Ion committed -
skynono committed
-
creamlike1024 committed
-
CaIon committed
-
CaIon committed
-
🚚 Summary • Migrated all ratio-related sources into `setting/ratio_setting/` – `model_ratio.go` (renamed from model-ratio.go) – `cache_ratio.go` – `group_ratio.go` • Changed package name to `ratio_setting` and relocated initialization (`ratio_setting.InitRatioSettings()` in main). • Updated every import & call site: – Model / cache / completion / image ratio helpers – Group ratio helpers (`GetGroupRatio*`, `ContainsGroupRatio`, `CheckGroupRatio`, etc.) – JSON-serialization & update helpers (`*Ratio2JSONString`, `Update*RatioByJSONString`) • Adjusted controllers, middleware, relay helpers, services and models to reference the new package. • Removed obsolete `setting` / `operation_setting` imports; added missing `ratio_setting` imports. • Adopted idiomatic map iteration (`for key := range m`) where value is unused. • Ran static checks to ensure clean build. This commit centralises all ratio configuration (model, cache and group) in one cohesive module, simplifying future maintenance and improving code clarity.
Apple\Apple committed -
xqx121 committed
-
sgyy committed
-
- 17 Jun, 2025 5 commits
-
-
🐛 Problem Semi UI’s Tabs calls `focus()` on the active tab during mount, causing the browser to scroll the page to that element. Using the bare `preventScroll` shorthand was not picked up reliably, so the page still jumped to the Tabs’ position on first render. Changes • Updated both Tabs instances in `web/src/pages/Detail/index.js` to `preventScroll={true}` instead of the shorthand prop. • Ensures the prop is explicitly interpreted as boolean `true`, converting the internal call to `focus({ preventScroll: true })`. Result The `Detail` page now stays at its original scroll position after load, eliminating the unexpected auto-scroll behavior.Apple\Apple committed -
🛠 The initial render of the `Detail` page was jumping to the first `Tabs` component because Semi UI calls `focus()` on the active tab, which triggers the browser’s default scroll-into-view behavior. Changes made • Added `preventScroll` to the chart-selector `Tabs` (type="button"). • Added `preventScroll` to the uptime-monitor `Tabs` (type="card"). These flags convert the internal `focus()` call to `focus({ preventScroll: true })`, allowing the page to stay at its current position after load. No functional logic is changed other than disabling the unwanted scroll; UI and user interactions remain the same.Apple\Apple committed -
🏷 frontend(ChannelsTable): • Do not render type-filter Tabs when `enableTagMode` is true, preventing UI/logic conflicts in tag aggregation view. • Adjust API query construction: – Append `type=` param only when NOT in tag mode and selected tab ≠ 'all'. – Applies to both `loadChannels` and `searchChannels`. • Result: UI stays clean in tag view, and backend receives correct parameters across modes. No other functionality affected.
Apple\Apple committed -
🎨 The “Batch Create” secret-key input in Channel Edit previously used a TextArea with a hard-coded `minHeight`, which caused an extra scrollbar and blank space on the right side of the field. This change: • Removes the fixed `minHeight` in favour of `autosize={{ minRows: 6, maxRows: 6 }}` • Keeps the field’s rounded appearance while letting it grow/shrink with content, improving usability on both desktop and mobile No other components or global styles are affected.Apple\Apple committed -
🚀 feat(api): • Add optional `type` query param to `/api/channel` endpoint for type-specific pagination • Return `type_counts` map with counts for each channel type • Implement `GetChannelsByType`, `CountChannelsByType`, `CountChannelsGroupByType` in `model/channel.go` feat(frontend): • Introduce type Tabs in `ChannelsTable` to switch between channel types • Tabs show dynamic counts using backend `type_counts`; “All” is computed from sum • Persist active type, reload data on tab change (with proper query params) perf(frontend): • Use a request counter (`useRef`) to discard stale responses when tabs switch quickly • Move all `useMemo` hooks to top level to satisfy React Hook rules • Remove redundant local type counting fallback when backend data present ui: • Remove icons from response-time tags for cleaner look • Use Semi-UI native arrow controls for Tabs; custom arrow code deleted chore: • Minor refactor & comments for clarity • Ensure ESLint Hook rules pass Result: Channel list now supports fast, accurate type filtering with correct counts, improved concurrency safety, and cleaner UI.
Apple\Apple committed
-