uni-api / utils.py

Commit History

🐛 Bug: Fix the bug where the embedding URL for GLM and GitHub models is incorrect.
a7303e8

yym68686 commited on

🐛 Bug: The bug where the provider's name, which is purely numeric, was not converted to a string has been fixed.
478e740

yym68686 commited on

🐛 Bug: Fix the bug of ZeroDivisionError when the API key does not exist.
af636f7

yym68686 commited on

🐛 Bug: Fix the bug where GitHub models cannot retrieve the model when the model field is not set.
cd90ffd

yym68686 commited on

🐛 Bug: Fix the bug where API initialization throws an error when no API key is present.
4e9c49c

yym68686 commited on

✨ Feature: Add feature: support setting rate limit for each model individually
cdf3ed9

yym68686 commited on

🐛 Bug: Fix the bug where the os module was not imported.
92795ca

yym68686 commited on

💻 Code: Optimize to reduce unnecessary log output.
a5e6e34

yym68686 commited on

🐛 Bug: Fix the bug where the return data type of frequency limit is incorrect.
cb8aca6

yym68686 commited on

🐛 Bug: Fix the bug of incorrect function parameters entering the cooldown state.
68795da

yym68686 commited on

🐛 Bug: 1. Fix the bug where the closed client cannot be found when closing the request client.
76819d6

yym68686 commited on

🐛 Bug: Fix the bug where Vercel fails to start successfully.
467f256

yym68686 commited on

🐛 Bug: Fix the bug where Vercel fails to start successfully.
db534e0

yym68686 commited on

🐛 Bug: Fix the bug of incorrect weight allocation
f2a60ff

yym68686 commited on

🪞 Frontend: Fixed the bug where the chart size was displayed incorrectly when there was no data.
3035b10

yym68686 commited on

🪞 Frontend: Add request model statistics bar chart
4f0c23d

yym68686 commited on

🐛 Bug: Fix the bug where weight polling did not check if the weight channel conforms to the request model.
5b1ad67

yym68686 commited on

Default to all models if model field is not set
141a8b8

yym68686 commited on

✨ Feature: Add support for embeddings model
c50b8cc

yym68686 commited on

🐛 Bug: Fix the bug where the model is not persisted to the file after being automatically retrieved.
7fb5f96

yym68686 commited on

📖 Docs: Add documentation for serv00 deployment steps.
c35d947

yym68686 commited on

✨ Feature: Added lottery scheduling algorithm and support for random scheduling algorithm.
ee08a6f

yym68686 commited on

🐛 Bug: Fix the bug where the sheet page cannot fully display when there are too many models.
3907084

yym68686 commited on

🐛 Bug: Fix the bug where the /v1/models endpoint returns incomplete models
1262e5b

yym68686 commited on

🐛 Bug: Fix the bug where the remote configuration file cannot be parsed.
5ce094b

yym68686 commited on

fix: create ThreadSafeCircularList with correct api list
a3a84d2

Benedict King commited on

if api key is invalid, raise except
00ec216

Benedict King commited on

fix: api could be a list
859400e

Benedict King commited on

🐛 Bug: Fix the bug where /v1/models does not work.
60e30aa

yym68686 commited on

✨ Feature: 1. Add support for experimental frontend.
923b378

yym68686 commited on

🐛 Bug: Fix the bug where channel responses fail but are replied to normally and are not recognized as a request failure.
8cf0555

yym68686 commited on

🐛 Bug: Fix the bug where using asterisks for api key does not conform to yaml syntax
adf018a

yym68686 commited on

Refactor: Add support for retrieving all models when the model name is "*"
3e27f73

dray commited on

🐛 Bug: 1. Fix the bug that causes an error when Claude uploads a PNG image.
f156f8a

yym68686 commited on

✨ Feature: Add support for v1/moderations endpoint.
888a669

yym68686 commited on

✨ Feature: Add database, count the first character time.
1d1b0f1

yym68686 commited on

🐛 Bug: Fix the bug where the fixed message for pass-through did not check for generation failure.
864c752

yym68686 commited on

🐛 Bug: Fix the bug that treats api.yaml as a folder.
252357c

yym68686 commited on

🐛 Bug: Fix the bug where the next channel cannot be automatically switched when an error occurs in non-streaming output for o1-mini and o1-preview.
bdfeca1

yym68686 commited on

🐛 Bug: Fix the bug that fails to properly catch httpx.RemoteProtocolError.
983694e

yym68686 commited on

🤖 Models: Add support for o1-mini o1-preview model
1126d73

yym68686 commited on

🐛 Bug: Fix the bug where error codes are not accurately returned to the client.
3972d74

yym68686 commited on

✨ Feature: Add feature: Support Cloudflare API model
95ca783

yym68686 commited on

🐛 Bug: 1. Fix the bug of log errors being repeatedly displayed.
8eca72e

yym68686 commited on

✨ Feature: Add feature: Add support for weighted load balancing.
3ec7a0b

yym68686 commited on

Add feature: support load balancing for multiple keys in a single channel, enabled by default.
aeec83c

yym68686 commited on

Add feature: support OpenAI dall-e-3 image generation
2ec0842

yym68686 commited on

Fix the bug of incorrect request body format for tool use.
69fd3e6

yym68686 commited on

Fix the bug where Gemini can only use the first region.
432fcd1

yym68686 commited on

Add feature: support vertex claude API using tool use functionality.
7d44776

yym68686 commited on