Commit Graph

1575 Commits

Author SHA1 Message Date
Laisky.Cai
f3300f08e2 fix: update model ratios and add completion ratio calculations 2025-03-14 03:07:58 +00:00
Laisky.Cai
2f32545ab0 Merge branch 'patch/openai-search' 2025-03-13 10:02:22 +00:00
Laisky.Cai
6708eed8a0 fix: refactor cost calculation logic for web-search tools and improve quota handling 2025-03-13 09:52:13 +00:00
Laisky.Cai
ad63c9e66f fix: update cost calculation to use QuotaPerUsd for search context sizes 2025-03-13 09:50:35 +00:00
Laisky.Cai
2f34798aa9 fix: refactor cost calculation logic for web-search tools and improve quota handling 2025-03-13 09:33:03 +00:00
Laisky.Cai
82225818e3 fix: update cost calculation to use QuotaPerUsd for search context sizes 2025-03-13 09:17:59 +00:00
Laisky.Cai
76e8199026 fix: add support for OpenAI web search models in documentation and request handling 2025-03-13 08:23:07 +00:00
Laisky.Cai
bbf6b77411 fix: add support for OpenAI web search models in documentation and request handling 2025-03-13 08:22:04 +00:00
Laisky.Cai
413fcde382 feat: support openai websearch models 2025-03-13 03:46:15 +00:00
Laisky.Cai
eb5e7efdd7 feat: support openai websearch models 2025-03-13 03:37:38 +00:00
Laisky.Cai
d65e1237e4 fix: update dependencies in package.json and go.mod for improved compatibility and performance 2025-03-13 02:24:45 +00:00
Laisky.Cai
a20f57a923 fix: update .gitignore and improve model handling in various adapters and billing ratios
closes #37
2025-03-13 01:47:41 +00:00
Laisky.Cai
d30b6840ad fix: improve error logging and messaging for session handling in user and turnstile middleware 2025-03-12 13:38:29 +00:00
Laisky.Cai
df3335510b fix: streamline Dockerfile by moving npm and react-scripts installation to the correct position 2025-03-12 10:52:31 +00:00
Laisky.Cai
d4d534764c fix: update .gitignore to include package-lock.json and yarn.lock; modify Dockerfile for improved build process and dependency management 2025-03-12 10:50:50 +00:00
Laisky.Cai
3effdef34a fix: synchronize custom channel updates with allModels
relates #39
2025-03-12 02:36:41 +00:00
Laisky.Cai
864c53e3e9 fix: /v1/models support custom channel
closes #39
2025-03-12 02:11:04 +00: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
a0ea7268fe fix: update StreamHandler to support cross-region model IDs for AWS 2025-03-12 00:34:09 +00:00
Laisky.Cai
a6d80179a2 feat: enhance Dockerfile for multi-architecture support; add build commands for ARM64 and update base images 2025-03-11 03:31:42 +00:00
Laisky.Cai
a0d7d5a965 fix: support thinking for aws claude 2025-03-10 07:00:45 +00:00
Laisky.Cai
c483cf5b49 chore: update Dockerfile and dependencies; bump Go version and AWS SDK packages 2025-03-10 06:59:21 +00:00
Laisky.Cai
a16fd0cfc7 docs: update README to include support for AWS cross-region inferences 2025-03-10 06:48:10 +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
Laisky.Cai
5296a588b1 feat: add support for aws's cross region inferences
closes #2024, closes #2145
2025-03-10 06:37:42 +00:00
Laisky.Cai
92774271b3 test: skip audio tests if ffmpeg is not installed; update expected token value 2025-03-09 12:59:37 +00:00
Laisky.Cai
4076e637fd
Merge pull request #36 from zzzz0317/main
fix: oidc token endpoint request body #2106
2025-03-09 20:57:40 +08:00
Laisky.Cai
53b7ef4bc6 ci: refactor GitHub Actions workflow to include Go Vet and test jobs 2025-03-09 12:57:23 +00:00
Laisky.Cai
3e432c77bd fix: streamline Notify function with switch-case for notification methods 2025-03-09 12:52:08 +00:00
Laisky.Cai
388f0ef6aa docs: update README for clarity and fix translation issues; improve token update descriptions 2025-03-09 12:50:52 +00:00
Laisky.Cai
b5a242da15
Merge pull request #35 from myronzhangweb3/fix-send-msg
Fix send msg
2025-03-09 20:48:32 +08:00
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