uni-api / main.py

Commit History

✨ Feature: Add feature: Support for counting model usage in the stats endpoint
5eb10aa

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

💻 Code: Optimize log display: When the model does not exist, display it in the log.
061e8aa

yym68686 commited on

🐛 Bug: Fix the bug of connectivity check error at lobechat endpoint /v1/chat/completions
c09ef14

yym68686 commited on

💻 Code: Increase the default timeout to 100 seconds to improve the success rate of o1-preview responses.
ab734b8

yym68686 commited on

🐛 Bug: Fix the o1-mini timeout bug, increase the default timeout to 40 seconds.
78ff70d

yym68686 commited on

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

yym68686 commited on

🐛 Bug: Fix the bug where httpx.RemoteProtocolError was not caught
f4d6dda

yym68686 commited on

🐛 Bug: Fix the bug where the client uploads the image URL instead of converting it to base64 encoding during image recognition.
5c2c740

yym68686 commited on

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

yym68686 commited on

✨ Feature: Add feature: Add support for using angle brackets to enclose strings to set the string before the slash to the channel name.
6038b37

yym68686 commited on

🐛 Bug: 1. Fix the bug where the API key is not found when rate limiting.
cfd3f47

yym68686 commited on

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

yym68686 commited on

✨ Feature: Add feature: Add support for rate limiting.
b812da1

yym68686 commited on

🐛 Bug: Fix the bug when the model list is empty.
7477ff7

yym68686 commited on

🐛 Bug: Fix the bug where tool use is still included in the request body when tools are closed.
f3ea9b1

yym68686 commited on

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

yym68686 commited on

🐛 Bug: Fix the bug where the channel status is not sorted by success rate.
dac9c70

yym68686 commited on

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

yym68686 commited on

✨ Feature: Add features: Add API channel success rate statistics, channel status records.
73a667f

yym68686 commited on

Fix the bug that cannot adapt to the available model name.
163e912

yym68686 commited on

🐛 Bug: Fix the bug where the timeout was not converted to a float.
3fc76ba

yym68686 commited on

Add traffic middleware
819abc0

yym68686 commited on

Fix the bug that does not adapt to the new API for obtaining the model list.
2a7fbb2

yym68686 commited on

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

yym68686 commited on

Fix the bug where the provider lookup is inaccurate.
58a694d

yym68686 commited on

revert: try_all_providers method in ModelRequestHandler
47c28b9

zeta commited on

refactor: revise round-robin and auto-retry logic in API request handling
bdd215f

zeta commited on

fix: Improve round-robin provider selection and add Claude max_tokens auto-fill
9b5984b

zeta commited on

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

yym68686 commited on

✨ Feature: Add feature: Support vertex ai API and vertex tool use invocation.
edb14b7

yym68686 commited on

Fix the bug related to asyncio.CancelledError error
0f410b4

yym68686 commited on

fix bug
2a42096

yym68686 commited on

🐛 Bug: 1. Fix the bug of httpx reading streamed output timeout.
55a4247

yym68686 commited on

🐛 Bug: Fix the bug of the model provider matching order error.
33bccc2

yym68686 commited on

Add feature: automatic URL redirection
133f622

yym68686 commited on

Fix the issue where Gemini cannot be used.
766167a

yym68686 commited on

fix log display error
c0521af

yym68686 commited on

Optimize log display, showing the model requested by the user.
39b80b6

yym68686 commited on

Fix the bug in the matching model algorithm.
93aef2a

yym68686 commited on

Support downloading configuration files from external URLs.
3e22716

yym68686 commited on

Support downloading configuration files from external URLs.
b21d1ea

yym68686 commited on

Support downloading configuration files from external URLs.
810662a

yym68686 commited on

Change log display
a1d3f78

yym68686 commited on

Do not display log information of level info
b269107

yym68686 commited on

Uvicorn as an ASGI server, disable WebSocket support on startup
2677404

yym68686 commited on

Fix a possible bug that occurs when attempting to encode a dictionary (dict) object as a string in a FastAPI application.
1e617f9

yym68686 commited on

Fix a possible bug that occurs when attempting to encode a dictionary (dict) object as a string in a FastAPI application.
1ad99a8

yym68686 commited on

Fix a possible bug that occurs when attempting to encode a dictionary (dict) object as a string in a FastAPI application.
c2775d8

yym68686 commited on

Optimize log display
bc7d0c8

yym68686 commited on