uni-api / response.py

Commit History

🐛 Bug: Remove redundant error-catching code snippets
1130ba9

yym68686 commited on

🐛 Bug: Fix the bug where the response ID is the same every time.
6257666

yym68686 commited on

🐛 Bug: Fix the bug where the response ID is the same every time.
4e57426

yym68686 commited on

🐛 Bug: Fix the bug where the 201 status code is mistakenly considered an error.
3d5dc7e

yym68686 commited on

🐛 Bug: Fix the bug where Gemini cannot use non-streaming output.
73319d1

yym68686 commited on

🐛 Bug: Change the last character of the SSE message to \n\n
0a30d42

yym68686 commited on

🐛 Bug: Fix bug in total time calculation
09c584b

yym68686 commited on

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

yym68686 commited on

✨ Feature: Add support for v1/audio/transcriptions endpoint
17409c4

yym68686 commited on

🤖 Models: Add support for the cohere series models
eb02b52

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: Fix the bug where the official Claude API does not correctly pass the token count.
1de140d

yym68686 commited on

🐛 Bug: Fix the bug where the timestamp is a decimal.
237c936

yym68686 commited on

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

yym68686 commited on

🐛 Bug: Fix the bug that prevents the OpenAI API key from being used normally in zed.
60e7a94

yym68686 commited on

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

yym68686 commited on

Fix the bug where the Claude API does not return the DONE SSE message.
7b515b4

yym68686 commited on

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

yym68686 commited on

Fix the bug with the incorrect ending character in OpenAI format responses.
46ce910

yym68686 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

✨ Feature: Add feature: support Gemini API tool use
cb6cbda

yym68686 commited on

Fix the bug in RemoteProtocolError handling.
ffc6707

yym68686 commited on

Fix the issue of handling errors in gpt format response
27b85ef

yym68686 commited on

Add feature: automatic URL redirection
133f622

yym68686 commited on

Fix the issue where Gemini cannot be used.
766167a

yym68686 commited on

delete logger info
6916ae4

yym68686 commited on

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

yym68686 commited on

Fix the bug of returning JSON parsing error for invalid request information.
e81d06a

yym68686 commited on

Improve GPT response compatibility
eff878c

yym68686 commited on

Change log display
a1d3f78

yym68686 commited on

Fix the bug that prevents automatic polling.
359a819

yym68686 commited on

Fix the bug of non-standard SSE format in Claude API response data parsing and improve robustness.
5200484

yym68686 commited on

Optimize log display
e154153

yym68686 commited on

Fix fetchgptresponse_stream parsing file error
68bdecb

yym68686 commited on

Fix the bug of connection timeout when non-streaming output.
02ce0cb

yym68686 commited on

Add GPT format test module
2cdadb6

yym68686 commited on

Do not output response stream
93c3f12

yym68686 commited on

Fix the bug where the end of the GPT format response does not have a newline
f0d6a67

yym68686 commited on

Fix the issue where openrouter cannot use Gemini.
60cf2f7

yym68686 commited on

Fix the bug of tools search error.
819dd2f

yym68686 commited on

Support assigning different models to different API keys
9410047

yym68686 commited on

Fix Claude response reception logic
3e3ea9a

yym68686 commited on

Fixed the bug where the Claude role could not be obtained and the SSE format was incorrect.
52bcfe4

yym68686 commited on

Add Claude tool support.
e09244d

yym68686 commited on

Supported Claude
c405f98

yym68686 commited on

Adapt to Gemini
1af48fa

yym68686 commited on