|
|
@@ -40,6 +40,28 @@
|
|
|
> - Users must comply with OpenAI's [Terms of Use](https://openai.com/policies/terms-of-use) and **applicable laws and regulations**, and must not use it for illegal purposes.
|
|
|
> - According to the [《Interim Measures for the Management of Generative Artificial Intelligence Services》](http://www.cac.gov.cn/2023-07/13/c_1690898327029107.htm), please do not provide any unregistered generative AI services to the public in China.
|
|
|
|
|
|
+<h2>🤝 Trusted Partners</h2>
|
|
|
+<p id="premium-sponsors"> </p>
|
|
|
+<p align="center"><strong>No particular order</strong></p>
|
|
|
+<p align="center">
|
|
|
+ <a href="https://www.cherry-ai.com/" target=_blank><img
|
|
|
+ src="./docs/images/cherry-studio.png" alt="Cherry Studio" height="120"
|
|
|
+ /></a>
|
|
|
+ <a href="https://bda.pku.edu.cn/" target=_blank><img
|
|
|
+ src="./docs/images/pku.png" alt="Peking University" height="120"
|
|
|
+ /></a>
|
|
|
+ <a href="https://www.compshare.cn/?ytag=GPU_yy_gh_newapi" target=_blank><img
|
|
|
+ src="./docs/images/ucloud.png" alt="UCloud" height="120"
|
|
|
+ /></a>
|
|
|
+ <a href="https://www.aliyun.com/" target=_blank><img
|
|
|
+ src="./docs/images/aliyun.png" alt="Alibaba Cloud" height="120"
|
|
|
+ /></a>
|
|
|
+ <a href="https://io.net/" target=_blank><img
|
|
|
+ src="./docs/images/io-net.png" alt="IO.NET" height="120"
|
|
|
+ /></a>
|
|
|
+</p>
|
|
|
+<p> </p>
|
|
|
+
|
|
|
## 📚 Documentation
|
|
|
|
|
|
For detailed documentation, please visit our official Wiki: [https://docs.newapi.pro/](https://docs.newapi.pro/)
|
|
|
@@ -100,7 +122,7 @@ This version supports multiple models, please refer to [API Documentation-Relay
|
|
|
For detailed configuration instructions, please refer to [Installation Guide-Environment Variables Configuration](https://docs.newapi.pro/installation/environment-variables):
|
|
|
|
|
|
- `GENERATE_DEFAULT_TOKEN`: Whether to generate initial tokens for newly registered users, default is `false`
|
|
|
-- `STREAMING_TIMEOUT`: Streaming response timeout, default is 120 seconds
|
|
|
+- `STREAMING_TIMEOUT`: Streaming response timeout, default is 300 seconds
|
|
|
- `DIFY_DEBUG`: Whether to output workflow and node information for Dify channels, default is `true`
|
|
|
- `FORCE_STREAM_OPTION`: Whether to override client stream_options parameter, default is `true`
|
|
|
- `GET_MEDIA_TOKEN`: Whether to count image tokens, default is `true`
|