Comments (7)
把插件的请求参数换一下就可以了,然后去除prompt的前缀,除了代码补全以外的功能都可以正常使用
from codeshell-vscode.
我试了一下,貌似返回结果不对,后台看到有请求,也正常回复了,但是插件不显示内容
对返回结果修改了解码后,前后都会出现undefined的字符,请问你知道是怎么回事吗
from codeshell-vscode.
我试了一下,貌似返回结果不对,后台看到有请求,也正常回复了,但是插件不显示内容
对返回结果修改了解码后,前后都会出现undefined的字符,请问你知道是怎么回事吗
因为请求的接口变了,返回的参数格式也变了,要将返回参数的json解析改一改,参照下面修改:
from codeshell-vscode.
我试了一下,貌似返回结果不对,后台看到有请求,也正常回复了,但是插件不显示内容
对返回结果修改了解码后,前后都会出现undefined的字符,请问你知道是怎么回事吗
请问解码文件是哪个啊,没有看到historyPrompt
from codeshell-vscode.
我fork了一个支持 Azure OpenAI 集成的版本,供参考
https://github.com/carusyte/codeshell-vscode
from codeshell-vscode.
我fork了一个支持 Azure OpenAI 集成的版本,供参考 https://github.com/carusyte/codeshell-vscode
感谢您提供的codeshell
但是我想发送类似:
curl http://localhost:8000/v1/completions
-H "Content-Type: application/json"
-d '{
"model": "facebook/opt-125m",
"prompt": "San Francisco is a",
"max_tokens": 7,
"temperature": 0
}'
(vllm部署本地模型)
类似这种格式的请求,而我观察到 OpenAI中的uri与我想访问的地址不同,我尝试将uri更改成上述格式,但是插件似乎无法正常加载。
from codeshell-vscode.
建议官方支持一个最新版openai api格式的模式
from codeshell-vscode.
Related Issues (20)
- 回答问题后输出无法自动停止 HOT 1
- Docker启动量化模型的GPU模式 HOT 2
- FetchError:request to http://127.0.0.1:8080/completionfailed HOT 2
- 可以把 codeshell-chat-q4_0.gguf 往魔搭社区传一份吗? HOT 2
- Is is support deepseek coder yet ? HOT 2
- RAG+Langchain to make its more powerful?
- 检查性能问题,跟检查安全问题的prompts函数混淆了 HOT 1
- 魔搭4it模型中缺codeshell-chat-q4_0.gguf HOT 2
- 插件中访问模型url添加后缀completion,模型那边部署是completions HOT 2
- docker run --gpus 'all' 报错,多卡不支持吗 HOT 1
- 模型服务启动后网页能正常访问,但是vscode插件访问时服务端提示404异常?
- code-server安装codeshell-vscode插件对话框空白 HOT 1
- 有没有在windows上本地部署(用GPU、不用docker)的办法
- unable to load model
- codeshll不支持shared吗
- codeshell支持idea的插件有开源吗? 怎么没有看到地址
- 代码补全功能到底如何触发? HOT 1
- 大神您好,请问代码补全能不能支持下codeQwen 和 codeLLama 模型
- 多GPU卡支持镜像下载 HOT 1
- TGI+Docker部署,VS Code插件访问报错
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 codeshell-vscode.