A proxy server/adapter layer that relays requests to VS Code APIs.
Listens at localhost:5555 by default. For authentication, open
output/vscode-cp-proxy for authentication token, or, set your own
token using command setToken provided by this extension by pressing
(Ctrl+Shift+P) in VS Code.
Currently supported endpoints:
OpenAI
/openai/v1/models
Lists the models supported
/openai/v1/chat/completions
Translates the incoming requests in OpenAI format into VS
Code chat API invocations.
Streams responses by default. Non-streaming behavior not
tested.
Supports tool calling.
Image support.
Use with Emacs
Load/require vscode-cp-proxy.el
M-x vscode-cp-proxy-set-gptel-backend
If using a custom token, you can store it in the authinfo gpg file and configure as: