huggingface / llm-ls

LSP server leveraging LLMs for code completion (and more?)
Apache License 2.0
553 stars 43 forks source link

Fix TGI generation parameters #65

Closed HennerM closed 6 months ago

HennerM commented 6 months ago

With the move of the API to use camelCase, the request params for the TGI API are not matching anymore, since they are using a snake_case scheme according to the swagger JSON: https://huggingface.github.io/text-generation-inference/#/Text%20Generation%20Inference/generate