Skip to content

failed to tab autocomplete on coder-server #11150

@sagerenn

Description

@sagerenn

Before submitting your bug report

Relevant environment info

- OS: linux
- Continue version: 
- IDE version: code-server: v4.109.2 Code: 1.109.2
- Model: 
- config:
  
  - name: GLM-4.7
    provider: openai
    model: GLM-4.7
    apiBase: http://172.17.0.1:17800/v1 # The custom API base URL
    apiKey: sk-xxxxxxxxxxxxxxxxxx
    useLegacyCompletionsEndpoint: false
    roles:
      - autocomplete
    autocompleteOptions:
      maxTokens: 80000
  
  OR link to agent in Continue hub:

Description

No response

To reproduce

config local openai compatible api, and use the tab autocomplete

Log output

Continue Autocomplete Error: HTTP 500 Internal Server Error from http://172.17.0.1:17800/v1/chat/completions {"error":{"message":"Failed to create chat stream: chat completion stream failed: 400 Key: 'ChatCompletionRequest.Stop' Error:Field validation for 'Stop' failed on the 'max' tag\n\n","type":"internal_error"}}

Metadata

Metadata

Assignees

Labels

area:autocompleteRelates to the auto complete featureide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions