uni-api / main.py

Commit History

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

yym68686 commited on

🐛 Bug: Fix the bug in the moral check database update error.
a20c06f

yym68686 commited on

🪞 Frontend: Add request model statistics bar chart
4f0c23d

yym68686 commited on

💰 Sponsors: Thanks to @PowerHunter for the CNY 200 sponsorship, sponsorship information has been added to the README.
25f3a29

yym68686 commited on

🐛 Bug: Fix the bug where the model cannot be found.
2f54462

yym68686 commited on

🐛 Bug: Fix the bug where weight polling cannot match the model.
8583e53

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

📖 Docs: Add /docs/markdown endpoint to output markdown API documentation
84daa54

yym68686 commited on

📖 Docs: Update documentation
ee53a1b

yym68686 commited on

🐛 Bug: Fix the bug that did not check if weights were None.
54d814c

yym68686 commited on

🪞 Frontend: Added sidebar support to the front end, removed the menu bar.
c9427f3

yym68686 commited on

🐛 Bug: Fix the bug of weight load balancing round-robin.
b2991c2

yym68686 commited on

📖 Docs: Update documentation
d2ba74a

yym68686 commited on

✨ Feature: Add support for embeddings model
c50b8cc

yym68686 commited on

✨ Feature: Add feature: support wildcard matching like gpt* to match models such as gpt-3.5 and gpt-4.
60014c4

yym68686 commited on

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

yym68686 commited on

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

yym68686 commited on

📖 Docs: Add documentation for serv00 deployment steps.
c35d947

yym68686 commited on

🐛 Bug: Fix the bug where vercel cannot set app.state.config.
2c0a348

yym68686 commited on

✨ Feature: Add support for completely disabling the database.
b4f4763

yym68686 commited on

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

yym68686 commited on

🐛 Bug: Fix the bug where the front-end sheet table can only display one key when there are multiple API keys.
fd7bf5e

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 after filtering through the filter, if there are a total of four rows, when clicking the edit configuration on the fourth row, the sheet still displays the data from the fourth row before the filter was applied.
80fec79

yym68686 commited on

🐛 Bug: Fix the bug where the sheet cannot be closed when clicking the cancel button without filling in the content on the frontend add model sheet.
776255b

yym68686 commited on

✨ Feature: Add support for frontend page operation configuration files.
a04542e

yym68686 commited on

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

yym68686 commited on

🐛 Bug: 1. Fix the bug where the option request attempts to parse the OK stream message.
4b94129

yym68686 commited on

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

yym68686 commited on

✨ Feature: Add feature: The /stats endpoint supports passing an 'hours' parameter to specify the number of hours of historical statistics data to return
b197d5b

yym68686 commited on

🐛 Bug: Fix the bug where there is no error handling for response JSON parsing errors.
ea47d28

yym68686 commited on

🐛 Bug: Fix the bug where the permissions control for model distributors is incorrect.
6101f6d

yym68686 commited on

🐛 Bug: Fix the bug that makes moral checks unusable.
179cefd

yym68686 commited on

🐛 Bug: Fix the bug where FastAPI internally used different types of streaming responses.
7f50586

yym68686 commited on

🐛 Bug: Fix the bug where FastAPI internally used different types of streaming responses.
27b2cca

yym68686 commited on

🐛 Bug: Fix bug in total time calculation
09c584b

yym68686 commited on

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

dray commited on

fix: Generate a random API key using only alphanumeric characters
bead939

Benedict King commited on

🐛 Bug: Fix the bug where the request to generate images cannot be parsed.
c34a2a5

yym68686 commited on

🐛 Bug: Fix a bug that may occur in a concurrent environment when multiple requests attempt to use the same database session simultaneously.
9871835

yym68686 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 support for v1/audio/transcriptions endpoint
17409c4

yym68686 commited on

🐛 Bug: Fix the bug that prevents the host machine from synchronizing database files.
79bd233

yym68686 commited on

🐛 Bug: Fix the bug where the database cannot be automatically created when it does not exist
a37c1d1

yym68686 commited on

🐛 Bug: Fix the bug where the database cannot be automatically created when it does not exist
90a8f67

yym68686 commited on

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

yym68686 commited on

🤖 Models: Add support for the cohere series models
eb02b52

yym68686 commited on

✨ Feature: Add feature: Support automatic restart after detecting changes to api.yaml, no need to manually restart the container.
a0bdc85

yym68686 commited on

🐛 Bug: Fix the bug of middleware statistics for unknown models
ed95244

yym68686 commited on