Commit Graph

63 Commits

Author SHA1 Message Date
Fred 43e5dc2292
fix: fix the method to detect vision model 2024-02-28 11:33:43 +08:00
fred-bf 08fa22749a
fix: add max_tokens when using vision model (#4157) 2024-02-27 17:28:01 +08:00
fred-bf ff166f7b4c
chore: adjust for ollama support (#4129) 2024-02-26 17:18:46 +08:00
TheRam_ e2da3406d2
Add vision support (#4076) 2024-02-20 18:04:32 +08:00
fred-bf d74f636558
Fix/gemini app endpoint (#4017)
* fix: support custom api endpoint

* fix: attach api key to google gemini
2024-02-07 13:46:52 +08:00
fred-bf b8f0822214
fix: support custom api endpoint (#4016) 2024-02-07 13:40:30 +08:00
fred-bf bca74241e6
fix: fix gemini issue when using app (#4013)
* chore: update path

* fix: fix google auth logic

* fix: not using header authorization for google api

* chore: revert to allow stream
2024-02-07 13:17:11 +08:00
Fred Liang 9eaf492d5b chore: low the google safety setting to avoid unexpected blocking 2023-12-31 19:49:22 +08:00
Fred Liang a80502f7db
fix: fix gemini pro streaming api duplicated issue (#3721)
* fix: streaming duplicated issue

* chore: remove debug logs

* chore: add types defination
2023-12-31 19:08:16 +08:00
Fred Liang 5cf58d9446
feat: support streaming for Gemini Pro (#3688)
* feat: support streaming for Gemini Pro

* feat: display texts smoothly

* chore: remove comments
2023-12-29 03:42:45 +08:00
Yifei Zhang c03abdac42
Merge pull request #3570 from Rocky0102/main 2023-12-27 01:24:44 +08:00
Fred Liang 199f29e63c
chore: auto concat messages 2023-12-25 04:33:47 +08:00
Fred Liang 7c3dfb7bae
feat: support custom gemini pro params 2023-12-24 17:24:04 +08:00
Fred Liang 75057f9a91
chroe: support error reason for gemini pro 2023-12-24 04:32:25 +08:00
Fred Liang ae19a0dc5f
chroe: update model name 2023-12-24 04:22:12 +08:00
Fred Liang 20f2f61349
feat: support set api key from client side 2023-12-24 03:44:13 +08:00
Fred Liang 4169431f2c
fix: fix add api auth 2023-12-24 03:05:23 +08:00
Fred Liang 45798f993d
fix: fix type errors 2023-12-24 02:39:13 +08:00
Fred Liang ae0d68c27e
fix: fix llm models field 2023-12-24 02:39:13 +08:00
Fred Liang 778e88cb56
chore: resolve conflict 2023-12-24 02:15:30 +08:00
Fred Liang 3ef0621eb0
refactor: update product name 2023-12-23 16:48:16 +08:00
Rocky 24d7dc9bf9
Update api.ts to set proper header "Accept"
So it can work fine for some GPT forward service.
2023-12-18 20:34:37 +08:00
Yidadaa f2485931d9 feat: better animation speed 2023-11-19 19:15:11 +08:00
Yidadaa 536ace8e10 feat: animate streaming response to make more smooth 2023-11-19 18:24:51 +08:00
Yidadaa b7ffca031e feat: close #935 add azure support 2023-11-10 02:43:37 +08:00
Yifei Zhang fd2f441e02
feat: wont send max_tokens 2023-11-09 20:45:25 +08:00
Yidadaa d0a1d910d4 fix: #3186 enable max_tokens in chat payload 2023-11-09 03:19:13 +08:00
Yidadaa ae8226907f feat: close #2621 use better default api url 2023-08-14 21:36:29 +08:00
7lsu cf625e3542
typo fix 2023-08-01 10:16:36 +08:00
Yifei Zhang b51f7f9a25
Merge pull request #2370 from Yidadaa/bugfix-0712
fix: sharegpt roles
2023-07-12 23:21:22 +08:00
Yidadaa d275e32e70 fix: sharegpt roles 2023-07-12 23:19:46 +08:00
Yidadaa 15e063e1b5 feat: #2330 disable /list/models 2023-07-10 23:19:43 +08:00
Yidadaa 8e4743e719 feat: #920 migrate id to nanoid 2023-07-09 19:37:42 +08:00
Yidadaa 28c457730a fix: #2280 auto-detect models from 'list/models' 2023-07-09 18:03:06 +08:00
guochao 6653a31eb7 perf: models接口返回数据的容错处理 2023-07-06 20:00:30 +08:00
Yidadaa 4131fccbe0 feat: close #2192 use /list/models to get model ids 2023-07-04 23:16:24 +08:00
Yidadaa cda074fe24 fixup 2023-07-04 00:40:57 +08:00
Yidadaa 0140f771c6 feat: close #2175 use default api host if endpoint is empty 2023-06-28 23:12:35 +08:00
Yifei Zhang f3ec9f02eb
Merge pull request #1807 from AngelLiang/feat/frequency_penalty
feat: Add frequency_penalty request parameter
2023-06-18 14:36:55 +08:00
Yidadaa 91b871ef3b feat: try to add auto updater 2023-06-15 23:55:18 +08:00
Yidadaa 50cd33dbb2 feat: #1000 ready to support client-side only 2023-06-14 00:37:42 +08:00
Yidadaa 0d4611052e feat: white url list for openai security 2023-06-13 00:39:29 +08:00
AngelLiang 72cbb156ae feat: Add frequency_penalty request parameter 2023-06-04 16:05:35 +08:00
Yidadaa 3e65ef3bea feat: share to ShareGPT 2023-05-25 01:04:37 +08:00
Yidadaa 58f726c602 fix: #1668 should not summarize twice 2023-05-22 23:12:26 +08:00
Yidadaa 600b1814a1 fix: wont show auth popup when receiving a 401 http code 2023-05-20 23:58:36 +08:00
Yidadaa af497c96ec fix: #1612 infinite loading 2023-05-20 19:58:12 +08:00
Yidadaa a524a60c46 fix: #1611 show corret message when can not query usage 2023-05-19 00:27:25 +08:00
kirk.shan 789f3d993c fix content-type = text/event-stream;charset=utf-8 2023-05-18 10:25:06 +08:00
Yidadaa 85445c4ef2 chore: wont parse finished result 2023-05-18 02:09:05 +08:00