Comments (9)
如果是clone的项目,直接拉最新代码,然后重启即可
from glm-free-api.
base url没有设置正确,请填写到/v1为止,后续的部分不要加。
from glm-free-api.
base url没有设置正确,请填写到/v1为止,后续的部分不要加。
不行的,这个软件它会自动加上models
from glm-free-api.
0|glm-free-api | [2024-05-01 17:46:38.859][warning][server.ts<79,20>] [请求有误]: 正确请求为 POST -> /v1/chat/completions,当前请求为 GET -> /v1//models 请纠正
from glm-free-api.
程序加models没问题,目前最新版本都会返回模型列表,base url尾部不要加/,拼接后就变成//
from glm-free-api.
0|glm-free-api | [2024-05-01 18:17:58.562][info][server.ts<99,28>] -> POST /v1/chat/completions
0|glm-free-api | [2024-05-01 18:17:58.562][info][chat.ts<176,12>] [
0|glm-free-api | { role: 'system', content: 'You are a helpful assistant.' },
0|glm-free-api | { role: 'user', content: 'Test prompt using gpt-3.5-turbo' }
0|glm-free-api | ]
0|glm-free-api | [2024-05-01 18:17:58.563][info][chat.ts<482,10>] 本次请求上传:0个文件
0|glm-free-api | [2024-05-01 18:17:58.563][info][chat.ts<545,10>]
0|glm-free-api | 对话合并:
0|glm-free-api | <|sytstem|>
0|glm-free-api | You are a helpful assistant.
0|glm-free-api | <|user|>
0|glm-free-api | Test prompt using gpt-3.5-turbo
0|glm-free-api | <|assistant|>
0|glm-free-api |
0|glm-free-api | [2024-05-01 18:17:59.835][success][chat.ts<229,12>] Stream has completed transfer 1082ms
0|glm-free-api | [2024-05-01 18:17:59.839][info][server.ts<66,36>] <- POST /v1/chat/completions 1277ms
0|glm-free-api | [2024-05-01 18:17:59.896][debug][server.ts<75,20>] -> GET /v1/models request is not supported - 127.0.0.1
0|glm-free-api | [2024-05-01 18:17:59.897][warning][server.ts<79,20>] [请求有误]: 正确请求为 POST -> /v1/chat/completions,当前请求为 GET -> /v1/models 请纠正
0|glm-free-api | [2024-05-01 18:17:59.898][info][server.ts<84,24>] <- GET /v1/models 2ms
from glm-free-api.
from glm-free-api.
确认版本是否最新,我这边测试正常,models接口在0.0.23版本才加入支持
from glm-free-api.
测试没问题了,我想问一下npm部署怎么进行更新
from glm-free-api.
Related Issues (20)
- 文本提问被理解为绘画指令 HOT 11
- 求助大佬,如何部署在hugging face的space中 HOT 4
- token统计建议 HOT 1
- GPT4可以用类似的方式进行逆向吗 HOT 1
- 求助:在使用dify时 如何传递智能体id HOT 1
- 在宝塔面板上怎么设置反代 HOT 1
- OpenAI 的啥时候整一个不 HOT 1
- 为什么测速等待时间很长 HOT 4
- 有没有lobe-chat这类客户端的具体接入教程 HOT 3
- 智谱现在是不是token很快就会过期啊? HOT 1
- 接入gpt_academic使用时,遇到SSL: WRONG_VERSION_NUMBER HOT 5
- [FR] 多服务同时请求应对机制 HOT 3
- {'code': -2001, 'message': '[请求glm失败]: bad request', 'data': None} HOT 2
- npm部署的服务可以设置开机自启动吗? HOT 1
- 求助,部署时报错 HOT 2
- 似乎EN版没有chatglm_refresh_token HOT 5
- [FR] Token 写到一个文件中被读取 HOT 9
- 可以具体解释一下怎么上传文件吗? HOT 1
- 假装这不是一个issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glm-free-api.