Commit Graph

1243 Commits

Author SHA1 Message Date
Laisky.Cai
dc181dd7fa Merge branch 'upstream/main' 2024-12-22 02:50:40 +00:00
Laisky.Cai
00f5e25e57
Merge pull request #18 from jinjunliu/main
feat: add support for gemini-2.0-flash-thinking-exp model
2024-12-22 10:34:33 +08:00
Laisky.Cai
cf04ab9564 fix: update default version handling for Gemini models and improve billing ratio formatting 2024-12-22 02:32:46 +00:00
Jinjun Liu
c4afcc8337 feat: add support for gemini-2.0-flash-thinking-exp model 2024-12-21 19:46:35 -06:00
Laisky.Cai
42dfcd6167 docs: add Menu section to README for better navigation 2024-12-21 13:26:28 +00:00
Laisky.Cai
11cd22e9e9 fix: update README to include new Docker image and request cost details; add UserRequestCost model migration 2024-12-21 13:23:55 +00:00
Laisky.Cai
e9f117ff72
feat: add gemini-2.0-flash-exp and fix race condition in processChannelRelayError (#1983)
Some checks are pending
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-12-21 20:32:30 +08:00
Laisky.Cai
6bb5247bd6
feat: add support for new OpenAI models and update billing ratios (#1990) 2024-12-21 20:28:51 +08:00
Laisky.Cai
305ce14fe3
feat: support replicate chat models (#1989)
* feat: add Replicate adaptor and integrate into channel and API types

* feat: support llm chat on replicate
2024-12-21 14:41:19 +08:00
JustSong
36c8f4f15c docs: update readme
Some checks are pending
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
2024-12-21 00:33:20 +08:00
JustSong
45b51ea0ee feat: update feishu oauth login 2024-12-20 23:27:00 +08:00
Laisky.Cai
524606c4ae fix: improve session handling for non-base64 encoded session secrets 2024-12-20 05:56:35 +00:00
Laisky.Cai
09bfd61f2e refactor: replace Laisky/errors with pkg/errors for improved error handling 2024-12-20 03:06:09 +00:00
Laisky.Cai
7851933cdf test: enhance image editing tests with custom FileHeader and PNG encoding 2024-12-20 02:45:27 +00:00
Laisky.Cai
c48a182206 chore: add CI workflows for building and pushing arm64 Docker images 2024-12-20 02:36:50 +00:00
Laisky.Cai
df57dde468 fix: handle non-base64 encoded session secret gracefully 2024-12-20 02:10:34 +00:00
Laisky.Cai
b2fcadc0bc docs: update README to include support for OpenAI O1 2024-12-19 06:05:56 +00:00
Laisky.Cai
40f5cd3af0 feat: add support for new OpenAI models and update billing ratios 2024-12-19 05:55:21 +00:00
Laisky.Cai
75e7fee400 docs: update README to include support for replicate chat models 2024-12-19 04:57:27 +00:00
Laisky.Cai
502cf3315d feat: support llm chat on replicate 2024-12-19 03:14:32 +00:00
Laisky.Cai
4c86e7c506 docs: update README to clarify project status and encourage contributions 2024-12-17 08:55:39 +00:00
Laisky.Cai
6568009732 docs: enhance README with detailed feature descriptions and bug fix section 2024-12-17 08:52:06 +00:00
Laisky.Cai
1232c000dc docs: update README to include support for gemini-2.0-flash-exp and replicate flux & remix 2024-12-16 09:35:22 +00:00
Laisky.Cai
79bd053a0a Merge branch 'feature/replicate-remix' 2024-12-16 09:28:53 +00:00
Laisky.Cai
f72c715e4c feat: support image inpainting for flux-fill on replicate 2024-12-16 09:12:24 +00:00
Laisky.Cai
61d5f0eccf fix: update request URL formatting in Adaptor for proper query string handling 2024-12-15 02:16:56 +00:00
Laisky.Cai
33493aa8b3 fix: resolve race condition in processChannelRelayError and update API version handling for gemini-2.0-flash-exp 2024-12-15 02:06:35 +00:00
Laisky.Cai
c76ac9043d feat: add support for gemini-2.0-flash-exp model in constants and billing ratio 2024-12-14 01:10:48 +00:00
Laisky.Cai
60ffeb8ef6 Merge branch 'upstream/main' 2024-12-09 12:24:29 +00:00
Laisky.Cai
dce57eb4e7 docs: add support for Replicate in the README 2024-12-08 05:59:46 +00:00
Calcium-Ion
7c8628bd95
feat: support gzip decode (#1962)
Some checks failed
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-12-04 23:34:24 +08:00
Laisky.Cai
36e99cf6ec fix: update image request handling to always return one image and improve error logging 2024-11-28 09:15:40 +00:00
Laisky.Cai
ae7117beee feat: add Replicate adaptor and integrate into channel and API types 2024-11-28 09:04:02 +00:00
Laisky.Cai
3cb1b4fd35 fix: enhance request body handling for OpenAI API type in RelayTextHelper 2024-11-27 06:38:24 +00:00
Laisky.Cai
79257420a8 fix: update request handling to enforce usage inclusion and remove unused import 2024-11-27 06:25:15 +00:00
Laisky.Cai
988a054178 fix: remove unused slices import from adaptor.go 2024-11-27 06:16:53 +00:00
Laisky.Cai
5449190b8e fix: implement handling for o1-mini and o1-preview models to disable system prompt and max_tokens 2024-11-27 06:11:34 +00:00
Laisky.Cai
26c57f3be6 fix: comment out cache-to option in CI workflow for clarity 2024-11-27 06:02:49 +00:00
Laisky.Cai
95fda50365 feat: add o1-mini model to the ModelList in constants 2024-11-27 06:00:55 +00:00
Laisky.Cai
05c73c6fc3 feat: add new models and update pricing for o1-preview and o1-mini in constants and ratios 2024-11-27 06:00:17 +00:00
Laisky.Cai
1f103202a6 fix: refactor postConsumeQuota function to return quota and update user request cost handling 2024-11-22 03:12:09 +00:00
Laisky.Cai
f322f8029d fix: enhance token status handling in UpdateToken function with additional cases 2024-11-20 03:02:21 +00:00
Laisky.Cai
0d9c79be35 fix: update Go base image version and enhance token status checks in UpdateToken function 2024-11-20 02:52:09 +00:00
Laisky.Cai
0e335db90c feat: add remaining quota and status fields to token update 2024-11-20 02:43:41 +00:00
Laisky.Cai
383c1396ff docs: enhance user interface for improved accessibility and navigation 2024-11-20 02:13:57 +00:00
Laisky.Cai
d097011cd5 feat: improve error handling and update billing model with latest ratio 2024-11-20 02:11:16 +00:00
Laisky.Cai
082cfbe574 Merge remote-tracking branch 'origin/upstream/main' 2024-11-20 02:09:28 +00:00
JustSong
6ab87f8a08 feat: add warning in log when system prompt is reset
Some checks failed
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-11-10 17:18:46 +08:00
JustSong
833fa7ad6f feat: support set system_prompt for theme air & berry 2024-11-10 15:09:02 +08:00
JustSong
6eb0770a89 feat: support set system prompt for channel (close #1920) 2024-11-10 14:53:34 +08:00