JustSong
|
511cbc117e
perf: use slice to improve efficiency (#57)
|
3 лет назад |
JustSong
|
05e460d9f8
fix: fix "[DONE is not valid JSON" (#57)
|
3 лет назад |
JustSong
|
1507dd0104
fix: fix Azure channel not working in stream mode (#57)
|
3 лет назад |
JustSong
|
9ed9eaa65f
feat: support specific default api version now (#57)
|
3 лет назад |
JustSong
|
b4bfc95297
fix: remove the dot in model name (#57)
|
3 лет назад |
JustSong
|
479ccebedb
fix: provide a default value for api-version if not given (#57)
|
3 лет назад |
JustSong
|
d97d50b14c
feat: Azure API supported without verification (#48, #57)
|
3 лет назад |
JustSong
|
049a6def02
feat: able to configure ratio for more models now (close #53)
|
3 лет назад |
JustSong
|
7bd4c0e490
fix: return quota to user when delete token (close #37)
|
3 лет назад |
JustSong
|
36605cf095
fix: shouldn't close c.Request.Body too soon (close #35)
|
3 лет назад |
JustSong
|
033e832cae
feat: able to configure ratio for different models (close #26)
|
3 лет назад |
JustSong
|
84c7ae8ad1
refactor: use tiktoken-go to calculate token number
|
3 лет назад |
JustSong
|
52877f99e8
fix: relay bug fix
|
3 лет назад |
JustSong
|
0760dcf6cc
feat: support configuring ratio when estimating token number in stream mode
|
3 лет назад |
JustSong
|
52e92554ac
refactor: improve relay's implementation
|
3 лет назад |
JustSong
|
bcdfb7d0d9
feat: now use token as the unit of quota (close #33)
|
3 лет назад |
JustSong
|
aa18ac4864
refactor: use quota instead of times
|
3 лет назад |
JustSong
|
b612efe349
fix: only reduce remain times when request `/v1/chat/completions` (close #15)
|
3 лет назад |
JustSong
|
541b9f2ed6
fix: fully support stream mode now (close #3)
|
3 лет назад |
JustSong
|
2ed58bb0c0
fix: improve the implementation of sse
|
3 лет назад |
JustSong
|
796cb86b58
fix: fixing SSE support
|
3 лет назад |
JustSong
|
a8eacd331b
fix: relay more headers
|
3 лет назад |
JustSong
|
7c0124451d
fix: only keep header Authorization & Content-Type
|
3 лет назад |
JustSong
|
9001415948
fix: fix http2: invalid Connection request header: ["upgrade"]
|
3 лет назад |
JustSong
|
32755d875a
Support custom channel now
|
3 лет назад |
JustSong
|
d00968d0cd
Fix "HTTP decompression failed"
|
3 лет назад |
JustSong
|
039301324f
Bug fix
|
3 лет назад |
JustSong
|
12aa6c352b
Relay done but not working
|
3 лет назад |