mirror of
https://github.com/LLM-Red-Team/kimi-free-api.git
synced 2025-10-15 14:50:37 +00:00
Compare commits
5 Commits
0.0.26
...
0.0.27-fix
Author | SHA1 | Date | |
---|---|---|---|
![]() |
cbf215d8a8 | ||
![]() |
7c3bc3c0d8 | ||
![]() |
ae8e8316e4 | ||
![]() |
e1b7e55e70 | ||
![]() |
e1710ee95a |
@@ -63,12 +63,6 @@ ZhipuAI (智谱清言) 接口转API [glm-free-api](https://github.com/LLM-Red-Te
|
||||
|
||||
https://udify.app/chat/Po0F6BMJ15q5vu2P
|
||||
|
||||
## 测试接口
|
||||
|
||||
此接口实例部署在[Render](#Render部署)上面,遇到容器回收可能导致响应速度较慢,仅供测试,建议自行部署。
|
||||
|
||||
https://kimi-free-api-nut5.onrender.com
|
||||
|
||||
## 效果示例
|
||||
|
||||
### 验明正身Demo
|
||||
@@ -186,7 +180,7 @@ cd kimi-free-api
|
||||
vercel --prod
|
||||
```
|
||||
|
||||
### Zeabur 部署
|
||||
### Zeabur部署
|
||||
|
||||
**注意:免费账户的容器实例可能无法稳定运行**
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "kimi-free-api",
|
||||
"version": "0.0.26",
|
||||
"version": "0.0.27",
|
||||
"description": "Kimi Free API Server",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
@@ -610,7 +610,7 @@ async function receiveStream(model: string, convId: string, stream: any) {
|
||||
}
|
||||
// 处理联网搜索
|
||||
else if (!silentSearch && result.event == 'search_plus' && result.msg && result.msg.type == 'get_res')
|
||||
refContent += `${result.msg.title}(${result.msg.url})\n`;
|
||||
refContent += `${result.msg.title} - ${result.msg.url}\n`;
|
||||
// else
|
||||
// logger.warn(result.event, result);
|
||||
}
|
||||
@@ -707,7 +707,7 @@ function createTransStream(model: string, convId: string, stream: any, endCallba
|
||||
choices: [
|
||||
{
|
||||
index: 0, delta: {
|
||||
content: `检索 ${result.msg.title}(${result.msg.url}) ...\n`
|
||||
content: `检索 ${result.msg.title} - ${result.msg.url} ...\n`
|
||||
}, finish_reason: null
|
||||
}
|
||||
],
|
||||
|
Reference in New Issue
Block a user