Commit Graph

1534 Commits

Author SHA1 Message Date
Laisky.Cai
6141d6e24c
Merge pull request #34 from myronzhangweb3/fix-manage-channel
fix manage channel
2025-03-09 20:42:51 +08:00
Laisky.Cai
f843c8e328
Merge pull request #33 from CaiCandong/bugfix/EmailDomainWhitelist-update
fix: update EmailDomainWhitelist submission logic
2025-03-09 20:40:08 +08:00
CaiCandong
ccdb1ea4b5 fix: update EmailDomainWhitelist submission logic 2025-03-05 01:32:47 +08:00
Laisky.Cai
13f49fa4b9 feat: add JSON serialization and update completion ratio handling with mutex synchronization 2025-03-03 05:37:38 +00:00
Laisky.Cai
fc828e407b feat: add support for gpt-4.5-preview model and update billing ratios 2025-03-03 03:52:09 +00:00
Laisky.Cai
453ec8165b ci: add conditional release creation for tagged commits and update dependencies 2025-02-28 06:02:00 +00:00
Laisky.Cai
3f9f15675d ci: downgrade Go version to 1.24.0 in CI workflow and Dockerfile 2025-02-28 03:51:55 +00:00
Laisky.Cai
e2a6c1f37a ci: add Windows build workflow and update Go version to 1.24.1 2025-02-28 03:49:27 +00:00
Laisky.Cai
e755876aa0 docs: update README to change boolean values to strings for environment variables 2025-02-27 01:48:42 +00:00
Laisky.Cai
153472dc84 docs: update README with optional environment variables and their descriptions 2025-02-27 01:24:34 +00:00
Laisky.Cai
155a3aac73 Merge branch 'patch/models-api' 2025-02-27 01:12:38 +00:00
Laisky.Cai
54635ca4fe fix: models api return models in deactivate channels
- Enhance logging functionality by adding context support and improving debugging options.
- Standardize function naming conventions across middleware to ensure consistency.
- Optimize data retrieval and handling in the model controller, including caching and error management.
- Simplify the bug report template to streamline the issue reporting process.
2025-02-27 00:57:06 +00:00
Laisky.Cai
5905a7f295 fix: models api return models in deactivate channels
- Enhance logging functionality by adding context support and improving debugging options.
- Standardize function naming conventions across middleware to ensure consistency.
- Optimize data retrieval and handling in the model controller, including caching and error management.
- Simplify the bug report template to streamline the issue reporting process.
2025-02-26 11:22:03 +00:00
Laisky.Cai
f5d4ff05dc Merge branch 'test/ci' 2025-02-26 05:40:36 +00:00
Laisky.Cai
1bc83bf812 chore: enhance Anthropic support and optimize CI/CD processes
- Enhance the `Message` struct with new fields to support additional functionality.
- Streamline CI configuration by commenting out unused jobs and optimizing the build process for ARM64.
- Improve documentation and feature support for VolcEngine channel and bot model.
- Update Dockerfile to efficiently manage dependencies and enhance multi-architecture support.
2025-02-26 05:39:08 +00:00
Laisky.Cai
f6cfe7cd4f feat: enhance error handling and reasoning mechanisms across middleware
- Improve error handling across multiple middleware and adapter components, ensuring consistent error response formats in JSON.
- Enhance the functionality of request conversion functions by including context parameters and robust error wrapping.
- Introduce new features related to reasoning content in the messaging model, providing better customization and explanations in the documentation.
2025-02-26 05:38:21 +00:00
Laisky.Cai
07d9a8e144
Merge pull request #30 from qistchan/fix-2109
Fix 2109
2025-02-26 09:02:24 +08:00
Laisky.Cai
db992c26c4 feat: implement centralized error response handling and add logger middleware 2025-02-26 00:52:24 +00:00
Laisky.Cai
607406dae1 docs: add tutorial section to README with docker-compose instructions 2025-02-25 05:16:08 +00:00
Laisky.Cai
8d3a6b5cb9 feat: ensure TopP is nil when using extended thinking in Claude request 2025-02-25 03:56:07 +00:00
Laisky.Cai
56a1c52240 docs: update README to include Stream and Non-Stream sections for Claude model 2025-02-25 03:18:46 +00:00
Laisky.Cai
f60300e52c feat: update README and enhance response handling for Claude model to support reasoning and thinking 2025-02-25 03:13:21 +00:00
Laisky.Cai
f7ec449728 feat: add support for extended reasoning in Claude 3.7 model 2025-02-25 02:57:37 +00:00
Laisky.Cai
2f72aceb65 docs: add support for claude-3-7-sonnet in README 2025-02-25 01:41:30 +00:00
Laisky.Cai
9b56485857 feat: update model list and pricing for Claude 3.7 versions 2025-02-25 01:27:07 +00:00
Laisky.Cai
c2a0318e7b
Merge pull request #29 from qistchan/fix-#1982
fix: resolve "bufio.Scanner: token too long" error by increasing buff…
2025-02-25 09:21:39 +08:00
QistChan
e71893df6e feat: Enhance VolcEngine channel support with bot model routing 2025-02-24 01:46:47 +00:00
QistChan
1ac79a8126 fix: Improve OpenAI stream data parsing 2025-02-24 01:45:24 +00:00
QistChan
706aa7233b
fix: resolve "bufio.Scanner: token too long" error by increasing buffer size 2025-02-24 01:59:54 +08:00
Laisky.Cai
dba9b07bec Merge branch 'upstream/main' 2025-02-23 12:16:51 +00:00
Laisky.Cai
6965874ec2 feat: add ARM64 cross-compilation support in Dockerfile 2025-02-23 12:15:31 +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
647718f3e6 feat: add OpenrouterProviderSort configuration for provider sorting 2025-02-20 01:51:19 +00:00
Laisky.Cai
04da1b7861 fix: improve reasoning token counting in OpenAI adaptor 2025-02-19 09:13:17 +00:00
Laisky.Cai
fd4b34fe9e Merge branch 'test/ci' 2025-02-19 08:58:56 +00:00
Laisky.Cai
bb4a2e2897 chore: comment out CI steps and update Dockerfile for multi-arch support 2025-02-19 08:58:46 +00:00
Laisky.Cai
8c77218480 feat: update billing ratios for DeepSeek models 2025-02-19 08:47:09 +00:00
Laisky.Cai
a45a3d6241 feat: enhance reasoning token handling in OpenAI adaptor 2025-02-19 08:10:04 +00:00
Laisky.Cai
abe6afacca Merge branch 'fix/openrouter-reasoning' 2025-02-19 01:32:51 +00:00
Laisky.Cai
480f248a3d feat: support OpenRouter reasoning 2025-02-19 01:20:14 +00:00
Laisky.Cai
a5f5e85c44 feat: support OpenRouter reasoning 2025-02-19 01:11:46 +00:00
Laisky.Cai
2a5908586d Merge branch 'upstream/main' 2025-02-16 13:18:50 +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