JustSong
|
36605cf095
fix: shouldn't close c.Request.Body too soon (close #35)
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
033e832cae
feat: able to configure ratio for different models (close #26)
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
84c7ae8ad1
refactor: use tiktoken-go to calculate token number
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
52877f99e8
fix: relay bug fix
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
0760dcf6cc
feat: support configuring ratio when estimating token number in stream mode
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
52e92554ac
refactor: improve relay's implementation
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
bcdfb7d0d9
feat: now use token as the unit of quota (close #33)
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
aa18ac4864
refactor: use quota instead of times
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
b612efe349
fix: only reduce remain times when request `/v1/chat/completions` (close #15)
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
541b9f2ed6
fix: fully support stream mode now (close #3)
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
2ed58bb0c0
fix: improve the implementation of sse
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
796cb86b58
fix: fixing SSE support
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
a8eacd331b
fix: relay more headers
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
7c0124451d
fix: only keep header Authorization & Content-Type
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
9001415948
fix: fix http2: invalid Connection request header: ["upgrade"]
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
32755d875a
Support custom channel now
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
d00968d0cd
Fix "HTTP decompression failed"
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
039301324f
Bug fix
|
%!s(int64=3) %!d(string=hai) anos |
JustSong
|
12aa6c352b
Relay done but not working
|
%!s(int64=3) %!d(string=hai) anos |