uni-api / utils.py

Commit History

🐛 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

Add Gemini region load balancing.
3b159d8

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 error
e6c24d4

yym68686 commited on

Fix error
cf121cf

yym68686 commited on

Fix error
51e9d12

yym68686 commited on

Fix the bug of httpx.ReadError and asyncio.CancelledError errors
e6673ca

yym68686 commited on

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

yym68686 commited on

Upgrade the request body field Function, use the Tool field for function calls.
0140d23

yym68686 commited on

Fix renaming model original name can also be requested
de886b3

yym68686 commited on

Fix the bug in RemoteProtocolError handling.
ffc6707

yym68686 commited on

Fix asyncio.exceptions.CancelledError error
2af508a

yym68686 commited on

Fix httpx.RemoteProtocolError error
82cedb5

yym68686 commited on

Fix the bug with incomplete error handling.
d738fa5

yym68686 commited on

Fixing bug: Error handling response
29e15d9

yym68686 commited on

Add feature: automatic URL redirection
133f622

yym68686 commited on

Fix error handling when API returns empty
e7d701b

yym68686 commited on

Fixed the bug in openrouter sse special format handling.
89ae4e8

yym68686 commited on

Improve GPT response compatibility
eff878c

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.
728ade9

yym68686 commited on

Support downloading configuration files from external URLs.
465ab6f

yym68686 commited on

Support downloading configuration files from external URLs.
077bdaa

yym68686 commited on

Support downloading configuration files from external URLs.
810662a

yym68686 commited on

Change log display
a1d3f78

yym68686 commited on

When error_handling_wrapper encounters a JSONDecodeError, output and print the erroneous JSON.
972a124

yym68686 commited on

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

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.
1d0ce62

yym68686 commited on