最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

visual studio code - Using continue plugin in vscode to interface IA provider - Stack Overflow

programmeradmin4浏览0评论

Good morning, I have to interface a lmstudio instance running model olympiccoder-7b:2 on a local network at address http://10.125.37.11:1234/v1/.

I want to configure continue plugin of vscode in order to support such a provider.

I'm using this yaml file:

name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: Autodetect
    provider: lmstudio
    model: olympiccoder-7b:2
    apiBase: http://10.125.37.11:1234/v1/
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase

However when I use the context menu on the vscode (i.e. fix this code, generate docstring and so on) everythig works fine. However when I try to chat with the model I get the error:

400 "'messages' array must only contain objects with a 'role' field that is in [user, assistant, system, tool]. Got 'developer'."

Do you have any idea why the role seems to be fine when using context menu and not fine when I chat with provider? Best regards

发布评论

评论列表(0)

  1. 暂无评论