yshuai

Results comments of yshuai

I faced the same issue, and I I removed `~/.rye/self/* ` and `~/.rye/shims/python*.exe` solved the issue

多谢,刚知道有appimage这种包,下载以后就解决了,感谢解答

我也部署失败了,和你的报错位置一样。

我把楼上两位的都复制运行了,还是不行.

下一关的代码能过这一关;wordBlanks传入的参数里字符串不带空格; ```javascript function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) { var result = ""; // Your code below this line result = myAdjective+' '+myNoun+' '+myVerb+' '+myAdverb; // Your code above this line...

@sgwhat Thank you,According to your suggestion, I solved this problem

> 1. `messages` 那里写错了,应该是 `{ "customFields": { "model":"deepseek-coder:6.7b", "stream": true}, "messageKeys": { "content": "content" }}`,详细参考一下文档:https://ide.unitmesh.cc/custom/llm-server#custom-llm-server-example > 2. 建议使用 stream 方式,非 stream 方式没有经过严格测试。 1. 现在复制粘贴了你贴的数据试了一遍,也是报错的,我应该也测试过你说的这种情况。 ![image](https://github.com/unit-mesh/auto-dev/assets/13953723/017d8faa-d588-4d8b-ad1a-767f4818a7a3) 2. 你说的这个文档,我看了好几遍了,能正常返回数据,而且我还换了好几种匹配格式测试,request的格式我应该没写错。response的格式不管我怎么换,都是报错,返回的在字符串里面的格式可以正确格式化吗?

> 1. request 里还是少了 `role`,看文档:https://ide.unitmesh.cc/custom/llm-server#custom-llm-server-example > 2. response 格式看上去不对吧? `$.choices[0].delta.content ` 是 OpenAI 返回的,你可以找个在线工具测试一下:https://jsonpath.com 以下`steam:false`和`steam:true`的结果一样,截图时截错了,就不改图了。 1. 我从apifox测试的,`role:user`时能正常访问,在autodev里面测的时候,就会报400错误。 ![image](https://github.com/unit-mesh/auto-dev/assets/13953723/23363938-8229-48bb-ab37-a4b9e28f4827) 2. 使用`role:role`时能返回数据,但是还是不能格式化。 ![image](https://github.com/unit-mesh/auto-dev/assets/13953723/138fb64b-3d2c-4a03-937a-f9f0d60e8ca4) 3. 我写的response的匹配没写错。`$..content`和`$.message.content`这俩匹配结果都是一样的。 ![image](https://github.com/unit-mesh/auto-dev/assets/13953723/6f6ac2e0-86a3-4523-be0a-5eb83bcd03b2) 4. 你看一下,这个json字符串包裹在`''`里面,格式正确吗? ![image](https://github.com/unit-mesh/auto-dev/assets/13953723/eb79af43-946e-42aa-9302-7b89cdaf8bb9) 5. 你这个文档的Custom response...

> 如果出错的时候,LLM 返回结果是在 '' 里的: > > https://github.com/unit-mesh/auto-dev/blob/3e890afd1d1fc8e1853481bf89c0d6c6e45c13bd/src/main/kotlin/cc/unitmesh/devti/llms/custom/ResponseBodyCallback.kt#L114 > > 正确的错误返回应该是:`Invalid sse format! 'Hello! xxxxxx'`。 > > 如果 API 返回的信息都在 `line` 里,说明可能 '' 里可能是你的 LLM 返回的内容 —— 因为 LLM 复读了。...

使用软链接挂载后,把容器删除重新创建后解决了。