Laisky.Cai
d88e07fd9a
feat: add deepseek-reasoner & gemini-2.0-flash-thinking-exp-01-21 ( #2045 )
...
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
* feat: add MILLI_USD constant and update pricing for deepseek services
* feat: add support for new Gemini model version 'gemini-2.0-flash-thinking-exp-01-21'
2025-01-31 15:15:59 +08:00
Wei Tingjiang
49ffb1c60d
feat: enhance response handling to support gemini-2.0-thinking ( #1995 )
2024-12-22 18:25:44 +08:00
Laisky.Cai
e9f117ff72
feat: add gemini-2.0-flash-exp and fix race condition in processChannelRelayError ( #1983 )
...
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
wanthigh
c368232f50
fix: changeoptional field to pointer type ( #1907 )
...
* fix:修复在渠道配置中设置模型重定向时,temperature为0被忽略的问题
* fix: set optional fields to pointer type
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-11-09 23:31:46 +08:00
Wei Tingjiang
6f13a3bb3c
feat: update Gemini adaptor to support custom response format ( #1892 )
2024-10-27 17:10:50 +08:00
longkeyy
b4bfa418a8
feat: update gemini model and price ( #1705 )
2024-08-06 23:43:33 +08:00
zijiren
b21b3b5b46
refactor: abusing goroutines and channel ( #1561 )
...
* refactor: abusing goroutines
* fix: trim data prefix
* refactor: move functions to render package
* refactor: add back trim & flush
---------
Co-authored-by: JustSong <quanpengsong@gmail.com>
2024-06-30 18:36:33 +08:00
Wei Tingjiang
b1520b308b
Try to fix Gemini streaming return being truncated by FinishReason. ( #1477 )
...
1
2024-06-14 00:30:47 +08:00
Wei Tingjiang
9321427c6e
feat: support gemini embeddings (text-embedding-004,embedding-001) ( #1475 )
...
* Refactor Gemini Adaptor to Support Embeddings
* Add new models to ModelList
2024-05-29 01:17:32 +08:00
JustSong
04b49aa0ec
chore: use StringContent() to convert response to text
2024-04-27 15:41:02 +08:00
Wei Tingjiang
ef88497f25
fix: refactor Gemini adaptor to support streaming content generation ( #1382 )
2024-04-27 15:39:59 +08:00
JustSong
9026ec7510
feat: support cloudflare now
2024-04-26 23:05:48 +08:00
Wei Tingjiang
779b747e9e
feat: add function and tools support for Gemini ( #1358 )
...
* Update model.go
* Support Gemini tool_calls.
* Fix gemini tool calls (also keep support functions).
* Fixed the problem of arguments not being stringified.
Fix panic: candidate.Content.Parts out of range
2024-04-24 21:26:45 +08:00
JustSong
e086da05b1
feat: able to change gemini version ( close #1211 )
2024-04-06 20:48:22 +08:00
JustSong
24ed170e7b
chore: reorganize adaptor related package
2024-04-06 01:36:48 +08:00