uni-api / request.py

Commit History

🐛 Bug: Fix the bug where the o1 model cannot obtain text format.
e5b8220

yym68686 commited on

🤖 Models: Add support for the cohere series models
eb02b52

yym68686 commited on

🐛 Bug: Fix the bug where the lobechat gemini official API cannot use the tool. The reason is that lobechat automatically uses multiple consecutive underscores in the system prompt to name function names, which gemini does not support.
5eb8cba

yym68686 commited on

🐛 Bug: Fix the bug where the system prompt is not deleted in the o1-mini model message.
aea01d0

yym68686 commited on

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

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 that the official Claude API cannot use PNG format images.
14428d9

yym68686 commited on

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

yym68686 commited on

✨ Feature: Adapt to the deprecated function call request body format of OpenAI
9874f60

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

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

yym68686 commited on

🐛 Bug: Fix the bug of tool use request body format error
44caf41

yym68686 commited on

Fix the bug where claude tool_choice does not support "tool_choice": {"type": "any"}
0ce2715

yym68686 commited on

🐛 Bug: 1. Fix the bug where the max_tokens is missing in the Claude request body
7f8be8f

yym68686 commited on

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

yym68686 commited on

Fix the bug where claude stream is not defined.
f3fce0a

yym68686 commited on

Fix the bug where Claude cannot use tool use.
894ff24

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: Improve round-robin provider selection and add Claude max_tokens auto-fill
9b5984b

zeta 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

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

yym68686 commited on

🐛 Bug: Fix the bug when the date plugin does not require parameters.
6b0ab57

yym68686 commited on

Upgrade the request body field Function, use the Tool field for function calls.
809165c

yym68686 commited on

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

yym68686 commited on

Fix the bug causing errors in the GPT channel when using the Wu API.
2a56a92

yym68686 commited on

gemini adds support for system prompts
3c06783

yym68686 commited on

Fix the issue where Gemini cannot be used.
766167a

yym68686 commited on

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

yym68686 commited on

🐛 Bug: 1. Fix the bug where system_prompt is undefined
499f79d

yym68686 commited on

✨ Feature: Support Claude 3.5 8192 maximum output length.
01cf123

yym68686 commited on

Fix the error of name not defined
bafce90

yym68686 commited on

Determine whether to use tools through the configuration file tools.
8748c7e

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

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