Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
2488e6a
feat: add ali qwen channel autoDisabled
feitianbubu Jul 19, 2025
723eefe
electron
bubblepipe Sep 29, 2025
0046282
stash
bubblepipe Sep 29, 2025
a57a36a
tray
bubblepipe Sep 29, 2025
050e022
README
bubblepipe Sep 29, 2025
7c7f9ab
icon
bubblepipe Sep 29, 2025
39a868f
💱 feat(settings): introduce site-wide quota display type (USD/CNY/TOK…
t0ng7u Sep 29, 2025
573b5c3
fix build on windows
bubblepipe Sep 30, 2025
922ecef
fix wn
bubblepipe Sep 30, 2025
15b21c0
windows tray icon
bubblepipe Oct 2, 2025
3199e2e
Merge branch 'main-upstream' into pr/custom-currency-1923
seefs001 Oct 2, 2025
69e1542
feat: Allow FIM chat requests without messages
RedwindA Oct 2, 2025
5c6e603
Merge pull request #1959 from RedwindA/feat/silicon-fim
seefs001 Oct 3, 2025
937d931
refactor: simplify unsupported test channel types
feitianbubu Oct 3, 2025
6b75bc0
refactor(openai_image): replace json.Marshal with common.Marshal for …
Calcium-Ion Oct 3, 2025
f24feed
Merge pull request #1963 from feitianbubu/pr/refactor-channel-test
seefs001 Oct 3, 2025
b39885b
action
bubblepipe Oct 3, 2025
93e3070
action
bubblepipe Oct 3, 2025
a8bfa7a
✨ feat: add English bug report template to GitHub issue tracker for i…
Calcium-Ion Oct 3, 2025
c9abe1d
✨ feat: add English feature request template to GitHub issue tracker …
Calcium-Ion Oct 3, 2025
d2492d2
fix deps
bubblepipe Oct 3, 2025
9e33c83
merge
bubblepipe Oct 3, 2025
8026e51
fix deps
bubblepipe Oct 3, 2025
51d71a6
✨ feat: add Spanish feature request template to GitHub issue tracker …
Calcium-Ion Oct 3, 2025
0adfcf9
chore: update README files
Calcium-Ion Oct 3, 2025
72a12e3
chore: update README files
Calcium-Ion Oct 3, 2025
cc6fceb
Merge pull request #1957 from seefs001/pr/custom-currency-1923
Calcium-Ion Oct 3, 2025
731e9f4
💱 feat(RechargeCard): enhance currency display logic for top-up amoun…
Calcium-Ion Oct 3, 2025
55d19df
chore: remove outdated instructions from pull request template
Calcium-Ion Oct 3, 2025
7437b67
💱 feat: implement currency configuration helper and update currency d…
Calcium-Ion Oct 3, 2025
7763f11
fix: Gemini missing func name for multi-streaming tool calls (except …
MomentDerek Oct 4, 2025
7dc5f8c
Merge pull request #1967 from MomentDerek/main
seefs001 Oct 4, 2025
3da7ceb
feat: 防呆优化
Calcium-Ion Oct 5, 2025
ff77ba1
feat: enhance Electron environment detection and improve database war…
Calcium-Ion Oct 5, 2025
c113702
chore: update build workflows for Electron and Go, including version …
Calcium-Ion Oct 5, 2025
414be64
fix: correct Windows path handling in preload.js and update .gitignor…
Calcium-Ion Oct 5, 2025
7074ea2
chore: upgrade action-gh-release to v2 in build workflows
Calcium-Ion Oct 5, 2025
42861bc
Merge pull request #1964 from bubblepipe/electron
Calcium-Ion Oct 5, 2025
1154077
feat: enhance versioning logic in electron-build.yml for semver compl…
Calcium-Ion Oct 5, 2025
8a56795
chore: update electron-build.yml to add write permissions and enable …
Calcium-Ion Oct 5, 2025
9f44116
fix: update versioning logic in electron-build.yml to correctly handl…
Calcium-Ion Oct 5, 2025
021892b
feat: set data directory path in main process and update preload.js t…
Calcium-Ion Oct 5, 2025
74f93d4
feat: update Gemini API response handling to include block reason and…
Calcium-Ion Oct 5, 2025
98261ec
chore: update README files
Calcium-Ion Oct 5, 2025
407da54
feat: enhance SettingsLog component with confirmation modal for log d…
Calcium-Ion Oct 5, 2025
bb0ed4d
feat: implement user preferences management in SettingsLog component …
Calcium-Ion Oct 5, 2025
ca9ee54
fix: improve text visibility in warning box for dark mode in SettingsLog
RedwindA Oct 5, 2025
c246087
CI
Calcium-Ion Oct 6, 2025
2397ec8
Merge pull request #1974 from RedwindA/fix/Visibility
seefs001 Oct 6, 2025
6ef95c9
✨ feat: Add topup billing history with admin manual completion
zeraturing Oct 6, 2025
2389dba
✨ feat(topup): Admin-wide topup listing and route reorganization
zeraturing Oct 6, 2025
a8c9b24
🔎 feat(topup): add order number search for billing history (admin and…
zeraturing Oct 6, 2025
ec590d1
Merge pull request #1976 from QuantumNous/feature/invoicing
seefs001 Oct 7, 2025
ddf5c85
❤ fix(topup): prevent nil-pointer in Epay callback; reset page on search
zeraturing Oct 7, 2025
a610ef4
Merge pull request #1977 from QuantumNous/fix/bills
seefs001 Oct 7, 2025
6891057
feat(web): add settings & pages of privacy policy & user agreement
kyubibii Oct 8, 2025
4d0a9d9
feat: componentize User Agreement and Privacy Policy display
kyubibii Oct 8, 2025
f930cdb
fix(openai): account cached tokens for
RedwindA Oct 8, 2025
0c417e8
feat: update tab label in index.jsx for clarity on pricing settings
Calcium-Ion Oct 8, 2025
8f00af1
feat: gemini imagen quality value
Sh1n3zZ Oct 8, 2025
581c51f
feat: add GetClaudeAuthHeader function and update FetchUpstreamModels…
RedwindA Oct 8, 2025
1a398bb
Merge pull request #1983 from Sh1n3zZ/feat-imagen-related
seefs001 Oct 9, 2025
cdd2eb5
Merge pull request #1984 from RedwindA/feat/claude-fetchModels
seefs001 Oct 9, 2025
15a7edf
Merge pull request #1982 from RedwindA/feat/zhipu_cache
seefs001 Oct 9, 2025
629a534
chore(deps-dev): bump electron from 28.3.3 to 35.7.5 in /electron
dependabot[bot] Oct 9, 2025
60dc910
fix: update jwt package import to v5 across multiple files
Calcium-Ion Oct 9, 2025
d67c57e
Merge pull request #1986 from QuantumNous/dependabot/npm_and_yarn/ele…
Calcium-Ion Oct 9, 2025
e24f13a
fix: update axios package version to 1.12.0
Calcium-Ion Oct 9, 2025
9f4a2d6
feat: add sora video submit task
feitianbubu Oct 8, 2025
9c37b63
feat: add sora video retrieve task
feitianbubu Oct 9, 2025
b880094
feat: add sora video proxy video content
feitianbubu Oct 9, 2025
5f5b942
Merge pull request #1988 from feitianbubu/pr/add-sora
seefs001 Oct 9, 2025
17dafa3
feat: add user agreement and privacy policy to login page
kyubibii Oct 9, 2025
fe9b305
fix: legal setting
seefs001 Oct 10, 2025
3c57cfb
fix: avoid get model consuming body
feitianbubu Oct 10, 2025
7de0299
Merge pull request #1994 from feitianbubu/pr/fix-video-model
seefs001 Oct 10, 2025
0fed791
fix: test model #1993
seefs001 Oct 10, 2025
7b732ec
feat: enhance HTTP client with custom redirect handling and SSRF prot…
Calcium-Ion Oct 10, 2025
2479da4
feat: add sora video fetch task
feitianbubu Oct 10, 2025
614abc3
Merge pull request #1995 from seefs001/fix/test-channel-1993
Calcium-Ion Oct 10, 2025
77130df
Merge commit from fork
Calcium-Ion Oct 10, 2025
6897a9f
fix: channel remark ignore issue
seefs001 Oct 10, 2025
0c18139
Merge pull request #1992 from seefs001/pr-upstream-1981
Calcium-Ion Oct 10, 2025
f4d7bde
Merge pull request #1996 from seefs001/fix/remark-ignore
Calcium-Ion Oct 10, 2025
4c1f138
fix: sora fetch task route
feitianbubu Oct 10, 2025
5a7f498
Merge pull request #1997 from feitianbubu/pr/add-sora-fetch-task
Calcium-Ion Oct 10, 2025
e8966c7
feat: pplx channel
seefs001 Oct 10, 2025
f091f66
Merge pull request #1998 from seefs001/feature/pplx-channel
Calcium-Ion Oct 10, 2025
76ab8a4
Merge pull request #1401 from feitianbubu/pr/add-qwen-channel-auto-di…
seefs001 Oct 10, 2025
9b551d9
feat: add informational banner to proxy settings in SystemSetting.jsx
Calcium-Ion Oct 10, 2025
ff9f9fb
feat: support openAI sdk retrieve videos
feitianbubu Oct 10, 2025
721357b
Merge pull request #2000 from feitianbubu/pr/sora-retrieve-video-sdk
seefs001 Oct 10, 2025
a54baf4
feat: sora 增加参数校验与计费
xyfacai Oct 10, 2025
e19e904
fix(channel): handle dynamic frequency updates
qixing-jk Oct 10, 2025
7351480
fix(channel): handle dynamic frequency updates
qixing-jk Oct 10, 2025
57e5d67
fix(channel): move log statement after sleep in auto-test loop
qixing-jk Oct 10, 2025
df0ae92
Merge pull request #2002 from qixing-jk/fix/dynamic-frequency-updates
seefs001 Oct 10, 2025
35422b3
refactor: openAI video use OpenAIVideoConverter
feitianbubu Oct 10, 2025
11e8e4e
feat: add openai sdk for kling
feitianbubu Oct 10, 2025
5f36e32
feat: add openai sdk create
feitianbubu Oct 10, 2025
1031f1d
Merge pull request #2004 from feitianbubu/pr/openai-sdk-kling
Calcium-Ion Oct 11, 2025
eab768b
Merge pull request #2006 from xyfacai/feat/sora-price
Calcium-Ion Oct 11, 2025
5fbf860
feat: enhance multipart validation with additional fields for model, …
Calcium-Ion Oct 11, 2025
07b0990
feat: add logging for model details and enhance action assignment in …
Calcium-Ion Oct 11, 2025
5d4a075
fix: ensure error message is set when it is empty in error handling #…
Calcium-Ion Oct 11, 2025
0ff98b1
feat: update Go version in CI configuration and add release workflow …
Calcium-Ion Oct 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
.gitignore
Makefile
docs
.eslintcache
.eslintcache
.gocache
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug Report
about: Describe the issue you encountered with clear and detailed language
title: ''
labels: bug
assignees: ''

---

**Routine Checks**

[//]: # (Remove the space in the box and fill with an x)
+ [ ] I have confirmed there are no similar issues currently
+ [ ] I have confirmed I have upgraded to the latest version
+ [ ] I have thoroughly read the project README, especially the FAQ section
+ [ ] I understand and am willing to follow up on this issue, assist with testing and provide feedback
+ [ ] I understand and acknowledge the above, and understand that project maintainers have limited time and energy, **issues that do not follow the rules may be ignored or closed directly**

**Issue Description**

**Steps to Reproduce**

**Expected Result**

**Related Screenshots**
If none, please delete this section.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Feature Request
about: Describe the new feature you would like to add with clear and detailed language
title: ''
labels: enhancement
assignees: ''

---

**Routine Checks**

[//]: # (Remove the space in the box and fill with an x)
+ [ ] I have confirmed there are no similar issues currently
+ [ ] I have confirmed I have upgraded to the latest version
+ [ ] I have thoroughly read the project README and confirmed the current version cannot meet my needs
+ [ ] I understand and am willing to follow up on this issue, assist with testing and provide feedback
+ [ ] I understand and acknowledge the above, and understand that project maintainers have limited time and energy, **issues that do not follow the rules may be ignored or closed directly**

**Feature Description**

**Use Case**

4 changes: 0 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@
### PR 描述

**请在下方详细描述您的 PR,包括目的、实现细节等。**

### **重要提示**

**所有 PR 都必须提交到 `alpha` 分支。请确保您的 PR 目标分支是 `alpha`。**
142 changes: 142 additions & 0 deletions .github/workflows/electron-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
name: Build Electron App

on:
push:
tags:
- '*' # Triggers on version tags like v1.0.0
workflow_dispatch: # Allows manual triggering

jobs:
build:
strategy:
matrix:
# os: [macos-latest, windows-latest]
os: [windows-latest]

runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '>=1.25.1'

- name: Build frontend
env:
CI: ""
NODE_OPTIONS: "--max-old-space-size=4096"
run: |
cd web
bun install
DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(git describe --tags) bun run build
cd ..

# - name: Build Go binary (macos/Linux)
# if: runner.os != 'Windows'
# run: |
# go mod download
# go build -ldflags "-s -w -X 'one-api/common.Version=$(git describe --tags)' -extldflags '-static'" -o new-api

- name: Build Go binary (Windows)
if: runner.os == 'Windows'
run: |
go mod download
go build -ldflags "-s -w -X 'one-api/common.Version=$(git describe --tags)'" -o new-api.exe

- name: Update Electron version
run: |
cd electron
VERSION=$(git describe --tags)
VERSION=${VERSION#v} # Remove 'v' prefix if present
# Convert to valid semver: take first 3 components and convert rest to prerelease format
# e.g., 0.9.3-patch.1 -> 0.9.3-patch.1
if [[ $VERSION =~ ^([0-9]+)\.([0-9]+)\.([0-9]+)(.*)$ ]]; then
MAJOR=${BASH_REMATCH[1]}
MINOR=${BASH_REMATCH[2]}
PATCH=${BASH_REMATCH[3]}
REST=${BASH_REMATCH[4]}

VERSION="$MAJOR.$MINOR.$PATCH"

# If there's extra content, append it without adding -dev
if [[ -n "$REST" ]]; then
VERSION="$VERSION$REST"
fi
fi
npm version $VERSION --no-git-tag-version --allow-same-version

- name: Install Electron dependencies
run: |
cd electron
npm install

# - name: Build Electron app (macOS)
# if: runner.os == 'macOS'
# run: |
# cd electron
# npm run build:mac
# env:
# CSC_IDENTITY_AUTO_DISCOVERY: false # Skip code signing

- name: Build Electron app (Windows)
if: runner.os == 'Windows'
run: |
cd electron
npm run build:win

# - name: Upload artifacts (macOS)
# if: runner.os == 'macOS'
# uses: actions/upload-artifact@v4
# with:
# name: macos-build
# path: |
# electron/dist/*.dmg
# electron/dist/*.zip

- name: Upload artifacts (Windows)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
with:
name: windows-build
path: |
electron/dist/*.exe

release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write

steps:
- name: Download all artifacts
uses: actions/download-artifact@v4

- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: |
windows-build/*
draft: false
prerelease: false
overwrite_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59 changes: 0 additions & 59 deletions .github/workflows/linux-release.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/macos-release.yml

This file was deleted.

Loading