Commit Graph

1247 Commits

Author SHA1 Message Date
sagitchu
040c032b72 fix: fix go version 2025-03-18 21:49:13 +08:00
sagitchu
eeb93666b2 fix: fix some build action bug 2025-03-18 21:25:42 +08:00
sagitchu
859dad5dc2 fix: build test instead of unit test 2025-03-18 21:22:18 +08:00
sagitchu
abdc98d718 Merge branch 'main' of https://github.com/Sagit-chu/one-api 2025-03-18 20:57:13 +08:00
sagitchu
69c0dcf280 feat: add pr test 2025-03-18 20:56:50 +08:00
sagit
84af85df78
Merge pull request #26 from Sagit-chu/upstream-pr-2071
[Upstream] fix: update deepseek's price
2025-03-18 20:46:14 +08:00
sagitchu
6cfa4c59f6 fix: add PAT token 2025-03-18 20:34:59 +08:00
sagitchu
5a0a075d0c fix: workflows permission 2025-03-18 20:23:12 +08:00
sagitchu
d05d52913b fix: duplicate key 2025-03-18 19:53:59 +08:00
sagit
d2fdcc23d8
Merge pull request #6 from Sagit-chu/upstream-pr-2182
[Upstream] fix: support aws cross region inferences
2025-03-18 17:58:27 +08:00
sagit
5d45d34860
Merge branch 'main' into upstream-pr-2182 2025-03-18 17:58:09 +08:00
sagitchu
8d48a79f71 Merge branch 'main' of https://github.com/Sagit-chu/one-api 2025-03-18 17:18:04 +08:00
sagitchu
c4683c08fc fix: repo name 2025-03-18 17:16:36 +08:00
sagit
30dfb16964
Merge pull request #12 from Sagit-chu/upstream-pr-2146
[Upstream] feat: add support for claude-3-7-sonnet on anthropic, openrouter, vertexai and aws
2025-03-18 17:03:23 +08:00
sagitchu
7cf1d60d40 feat: change docker account 2025-03-18 17:00:34 +08:00
sagitchu
30341bc6b2 fix: access pr 2025-03-18 16:54:22 +08:00
sagitchu
179aa92c35 fix: try to use default token 2025-03-18 16:51:43 +08:00
sagitchu
36f6ff2eb8 fix: secrets 2025-03-18 16:49:34 +08:00
sagitchu
647b3024a2 fix: sync upstream 2025-03-18 16:37:04 +08:00
sagitchu
8122fe74fb fix: fix secrets 2025-03-18 16:29:27 +08:00
sagitchu
47e6eb1bcd fix: use the built-in token 2025-03-18 16:10:54 +08:00
sagitchu
488a703795 fix: action secrets 2025-03-18 16:06:01 +08:00
sagitchu
befd5d623f fix: fix sync upstreem 2025-03-18 16:03:26 +08:00
sagitchu
a8dee4aad2 fix: 中文字符 2025-03-18 15:48:40 +08:00
sagitchu
033261b107 add sync action 2025-03-18 15:42:56 +08:00
Laisky.Cai
6e634b85cf fix: update StreamHandler to support cross-region model IDs for AWS 2025-03-12 00:34:15 +00:00
Laisky.Cai
a0d7d5a965 fix: support thinking for aws claude 2025-03-10 07:00:45 +00:00
Laisky.Cai
de10e102bd feat: add support for aws's cross region inferences
closes #2024, closes #2145
2025-03-10 06:43:40 +00:00
longkeyy
7fed66d584 feat: add support claude-3.7-sonnet 2025-02-25 18:17:53 +08:00
Laisky.Cai
c61d6440f9 fix: claude thinking for non-stream mode 2025-02-25 03:14:18 +00:00
Laisky.Cai
3a8924d7af feat: add support for extended reasoning in Claude 3.7 model 2025-02-25 03:02:51 +00:00
Laisky.Cai
95527d76ef feat: update model list and pricing for Claude 3.7 versions 2025-02-25 03:02:24 +00:00
JustSong
8df4a2670b docs: update ByteDance Doubao model link in README
Some checks failed
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2025-02-21 19:30:16 +08:00
Laisky.Cai
7ec33793b7 feat: add OpenrouterProviderSort configuration for provider sorting 2025-02-20 01:51:45 +00:00
Laisky.Cai
1a6812182b fix: improve reasoning token counting in OpenAI adaptor 2025-02-19 09:13:24 +00:00
Laisky.Cai
5ba60433d7 feat: enhance reasoning token handling in OpenAI adaptor 2025-02-19 08:10:19 +00:00
Laisky.Cai
480f248a3d feat: support OpenRouter reasoning 2025-02-19 01:20:14 +00:00
longkeyy
7ac553541b
feat: update openrouter models and price 20250213 (#2084)
Some checks failed
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2025-02-16 18:01:59 +08:00
longkeyy
a5c517c27a
feat: update ali models and price 20250213 (#2086) 2025-02-16 18:01:24 +08:00
JustSong
3f421c4f04 feat: support Gemini openai compatible api 2025-02-16 17:59:39 +08:00
JustSong
1ce6a226f6 chore: update prompt 2025-02-16 17:42:20 +08:00
JustSong
cafd0a0327 feat: add OpenAI compatible channel (close #2091) 2025-02-16 17:38:06 +08:00
JustSong
8b8cd03e85 feat: add balance not supported message in ChannelsTable
Some checks failed
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2025-02-12 01:20:28 +08:00
JustSong
54c38de813 style: improve code formatting and structure in ChannelsTable and render helpers 2025-02-12 01:15:45 +08:00
JustSong
d6284bf6b0 feat: enhance error handling for utils.js 2025-02-12 00:46:13 +08:00
DobyAsa
df5d2ca93d
docs: fix README typo (#2060) 2025-02-12 00:35:29 +08:00
Laisky.Cai
fef7ae048b
feat: support gemini-2.0-flash (#2055)
* feat: support gemini-2.0-flash

- Enhance model support by adding new entries and refining checks for system instruction compatibility.
- Update logging display behavior and adjust default quotas for better user experience.
- Revamp pricing structures in the billing system to reflect current model values and deprecate outdated entries.
- Streamline code by replacing hardcoded values with configurations for maintainability.

* feat: add new Gemini 2.0 flash models to adapter and billing ratio

* fix: update GetRequestURL to support gemini-1.5 model in versioning
2025-02-12 00:34:25 +08:00
JustSong
6916debf66 feat: update TestPrompt to specify output format for model name 2025-02-12 00:28:23 +08:00
JustSong
53da209134 feat: add AliBailian adaptor and update channel options 2025-02-12 00:15:43 +08:00
JustSong
517f6ad211 feat: update date range to display at least 7 days of data in Dashboard
Some checks are pending
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
2025-02-11 01:48:26 +08:00